• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to start EJB

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://jonas.objectweb.org/doc/tutorial_old/html/x316.html

gives you answers..
 
vin Hari
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic