Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how create new ejb project in wasad 5.1

 
ramkumar moganti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
can any help me in creating ejb project in wsad iam new to this IDE

iwant a example step by step in wasd konldy help me
 
Jim Janssens
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First you create a new EAP (enterprise application) . File->new->enterprise application.

The EAP is in fact a virtual represenation of an EAR file. If you would export an EAP you would get an EAR file with only the application.xml in (well, by means of speak).

After that you can add a EJB or WEB project to that EAP. You can do this on different ways, but the moste easy one is ; file->new->EJB project. You can then select which EAP you want to add your new EJB project to.

If you would now export the EAP you would get an EAR file with a JAR file and the application.xml containing a reference to that JAR file. The JAR file will then contain your beans.

From here you can add new beans to the EJB project. You can to this by right-clicking on the (EJB) project and selecting 'new->' . I suggest you open the J2EE perspective for this (not the java perspective)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic