Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start EJB

 
vin Hari
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello sir,
Iam new to EJB please tell me how to start ,what directory structure i shuould use,iam using tomcat server whether it is possible to deploy through that plese tell me if possible give some simple examples.
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is web server and you cannot deploy EJB in it. You need application server to deploy EJB.

Have a look at THIS
 
Neerav Narielwala
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://jonas.objectweb.org/doc/tutorial_old/html/x316.html

gives you answers..
 
vin Hari
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello sir,
Thank you for reply but that is in unix,but i require with respect to weblogic server ,please give me the directory structure of ejb with weblogic server and where to create .jar or .war or .ear files.
 
Animesh Mandal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using WSAD 5.1.2 or RAD 6.0 you can create EJB from Enterprise Application.

Then from EJB project you can create Entity bean, Session bean, MDB according to your necessity.
In WSAD you can make you own server to run the application by using JNDI configuration. Once you are done with your EJB creation, before you deploy it, you need to generate RMIC deployment code and also need to configure the deployment descriptor.

From Enterprise Application you can export .ear file and from Web Module you can generate .war files. .ear files consist of .jar files and .war file, with meta-inf folder for with deployment.xml.

You can then use the .ear and .war file remotely to run the application.
 
Robert Berg
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer to the BEA website for documentation on how to create EJBs on WebLogic.
 
vin Hari
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
thank you for reply but iam not using WSAD iam using weblogic7.0 in that iam not understanding the directory structure and how to deoly that
please tell me how to test first ejb application.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't you just put the key in the ignition and turn it and it starts up? JK

Check out the link that Robert Berg posted.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic