- Tuesday, February 17, 2009, 16:47
- Featured, JSF, Tutorial
- 19,554 views
Let us see how to create a simple application using JavaServer Faces or JSF framework in Eclipse IDE. First let us see what are the tools required to create our hello world JSF application.
JDK 1.5 above (
download)
Tomcat 5.x above or any other container (Glassfish, JBoss, Websphere, Weblogic etc) (
download)
Eclipse 3.2.x above (
download)
Sun Reference Implementation of JSF: (
download). Following are the list ...
Full story
- Thursday, February 12, 2009, 14:12
- J2EE, Tutorial
- 15,550 views
Following small piece of code comes handy whenever you are working for a J2EE web application in JSP/Servlet/Struts/JSF or any Servlet oriented web framework.
A lot of time we have to handle session errors in such applications and redirect user to particular error page. Generally user is redirected to the login page where she can giver her credential and log in the application again.
In ...
Full story
- Thursday, January 8, 2009, 17:31
- J2EE, Tutorial
- 33,885 views
Servlet Filters are the latest components that are added in Servlet 2.3 specifications. These filters are used basically for intercepting and modifying requests and response from server. Consider a scenario where you want to check session from the every users request and if it is valid then only you want to let the user access the page. You can acheive this by checking sessions on ...
Full story
- Tuesday, December 30, 2008, 16:48
- J2EE, Tutorial
- 7,987 views
A Custom tag is a user defined JSP language element. When a JSP page containing custom tag is translated into a Servlet, the tag is converted to operations on an object called tag handler. The Web container then invokes those operations when the JSP page's servlet is executed. It speeds up web application development because of code reuse feasibility. Custom tags can access all the ...
Full story
- Tuesday, December 16, 2008, 15:57
- Featured, J2EE, Spring, Struts, Tutorial
- 16,403 views
Let us see how to add Spring support (Spring IOC) to a Struts application using Eclipse IDE. I will use the hello world struts project that we created in
this tutorial as base reference and step by step we will add Spring support to it.
In this tutorial we will use Spring IOC (Inversion Of Control) mechanism. There will be a business delegate class ...
Full story
- Thursday, December 11, 2008, 15:38
- J2EE, Java, Tutorial
- 9,098 views
In this article we will explore the ways to implementation of LDAP (Lightweight Directory Access Protocol) authentication in Tomcat as well as JBoss server.
First let us see briefly what LDAP is.
Introduction to LDAP
Following is what Wikipedia has to say about LDAP:
The Lightweight Directory Access Protocol, or LDAP is an application protocol for querying and modifying directory services running over TCP/IP.
A directory is a set of ...
Full story
- Monday, December 8, 2008, 14:24
- How-To, J2EE, Tutorial
- 2,790 views
RSS, or Really Simple Syndication, is a method of sharing and broadcasting content such as news from a website. Using XML, items such as news articles can be automatically downloaded into a News Reader or published onto another website. There are two ways of using RSS; to share your data with others or to harvest others' data for your site.
First version of RSS called RDF ...
Full story
- Wednesday, December 3, 2008, 15:10
- J2EE
- 1,237 views
Recently, I was running one of the application on JBoss server. Now I was able to access it using http://localhost:8080/myapp. But I was not able to access the application if I try to use my machine name or IP address instead of localhost in JBoss server. I am using JBoss 4.2.3 version.
I searched the internet and found this solution.
JBoss version 4.2.0.GA always bound to the ...
Full story