Hi friends anyone who is into J2EE must have come across WSAD atleast once....anyways this time around lets see how to create and call a simple EJB i.e Enterprise Java Bean from a JSP file inWSAD.
---------------------------------------
STEP ONE- Create a New Project
---------------------------------------
-----------------------------------------------------------------------------------------
STEP TWO- Select J2EE PROJECT under that select Enterprise Application Project
-----------------------------------------------------------------------------------------
Next select Create J2EE 1.3 Enterprise Application Project
Next select and give your Project a Cool Name...i will name mine Cart.
See that the name must not have been used previously.
Next u will get EAR Module Projects i this select New Module
Next u will get New Module Project window in this window uncheck unwanted features like Application Client Project and Connector Project
Then click Finish and then u will get a window that says this
KIND OF ROJECT IS ASSOCIATED WITH J2EE PERSPECTIVE. DO U WANT TO SWITCH TO THE PRESPECTIVE KNOW CLICK YES.
Next the project should have been created and one should get 3 files cart cart EJB cart WEB
No comments:
Post a Comment