The project contains minimal classes and interface for a EJB client application to compile and execute. What is a EJB client project? It is a plain Java project that holds the remote/local home and component interfaces, and generated stub classes. Accept the default name of the EJB Client project and JAR file name. As the EAR project, select Test Application.Ĭlick on Next. In the Project Explorer view, right click on EJB Projects and select New->EJB Project. In RAD v6, a test server is automatically created. The target server determines the J2EE JAR files that are added to the project’s class path.
Note that the default J2EE level is 1.4 and that the new project will be targeted to WebSphere Application Server v6.0. In the Project Explorer view, right click on Enterprise Applications and select New->Enterprise Application Project.Įnter Test Application as the name of the project. System shows/hides menu items based on the selected roles.Ĭlose the Welcome screen. Click on the Advanced J2EE role as shown above. Click on OK.Īt the bottom right hand corner, click on the Enable/Disable roles icon. Start RAD v6 (Start Menu Programs->IBM Rational->IBM Rational Application Developer V6.0->Rational Application Developer).Įnter a short directory name as the workspace root folder. If the number is missing or negative, system displays an error page. You will develop a very simple application that calculates the square root of a number.
#How to generate java code in rational rose how to#
This tutorial will help you understand how to develop Session EJB, Servlets and JSP files using RAD v6.