• 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

EJB3.0 with eclipse3.3.1 and jboss4.2.3

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Iam new to EJB3.0 and i want to create a simple stateless session bean in eclipse using jbossApp Server. Iam confused as how to use Eclipse to create a stateless Session bean. I googled it, but didn't find regarding this.Can anyone sugest me how to do it? your help is greatly appreciated

Thanks,
Deepthi
 
author & internet detective
Posts: 41855
904
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Deepthi,
Eclipse doesn't support EJBs out of the box. Are you using a plugin for J2EE?
 
Deepti Guduru
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,
No, Iam not using any plugin for j2ee. I downloaded eclipse Ide for javaee developers(version3.3.1) from the website(eclipse.org). Do we need to download any plugin for writing EJB. If so, can you tell me which plugin is useful in order to do the EJB programming. Your help is greatly appreciated.

Thanks,
Deepthi
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Deepthi,

Eclipse (with the JEE version) by itself is adequate to build EJB 3.0 applications. Another plug-in that might help you is Jboss IDE (it's made by Jboss for this purpose).

As it appears you are new to EJBs I strongly recommend working through some tutorials or training material such as OReillys Enterprise Javabeans 5th Ed (with Jboss Workbook)

Best of luck!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can create ejb3 proj using eclipse ganymede....
 
Deepti Guduru
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Thank you everyone who took time and guided me in my work.

Thanks,
Deepthi
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This works!

Properties properties = new Properties();
properties.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
properties.put("java.naming.provider.url","jnp://localhost:1099");
properties.put("java.naming.factory.url.pkgs", "org.jboss.naming rg.jnp.interfaces");
InitialContext ctx = new InitialContext(properties);


Thanks
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic