Tutorial : Building EJB3 Stateless Session Bean and JAX-WS web service In One Class Using RAD 7.5 - Project Setup

This series is about building an empty shell application that contains an EJB3 stateless session bean, a JAX-WS web service, and a web application that acts as the EJB and web service clients. I personally built it for performance testing purpose; so I can plug-in "in-doubt" java code to oberve how they handle concurrency in a server environment. But this will serve as a tutorial for those who are interested.

Part 1 : Project Setup
Part 2 : EJB3 and JAX-WS Implementation
Part 3 : Develop EJB3 client
Part 4 : Develop JAX-WS client




Tutorial : Building EJB3 Stateless Session Bean and JAX-WS web service In One Class Using RAD 7.5 - Project Setup



1. From Java EE perspective, create a new EJB project.


2.Enter Project Name.Click Next.


3. In my case I unchecked the Create EJB Client option, because I don't want the remote interface classes to be generated in a seperate Client Project. Click Finish.


4. Create a new Bean. New -> Session Bean.



5. Enter Bean name and package name. Click Finish.



5. All right, here is what is generated. Next, we will add contents to the generated TestHarness and TestHarnessRemote classes.


No comments:

Post a Comment