*
The moose likes EJB and other Java EE Technologies and the fly likes How to start EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to start EJB" Watch "How to start EJB" New topic
Author

How to start EJB

vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
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

Joined: Nov 16, 2005
Posts: 502

Tomcat is web server and you cannot deploy EJB in it. You need application server to deploy EJB.

Have a look at THIS


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
http://jonas.objectweb.org/doc/tutorial_old/html/x316.html

gives you answers..


<a href="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
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

Joined: Jan 03, 2007
Posts: 3
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

Joined: Dec 29, 2006
Posts: 10
Please refer to the BEA website for documentation on how to create EJBs on WebLogic.


<a href="http://exceptionnull.net" target="_blank" rel="nofollow">Exception: null</a>
vin Hari
Ranch Hand

Joined: Nov 16, 2006
Posts: 161
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to start EJB
 
Similar Threads
Struts
Struts
New to CVS
New To Java
New To Java