• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB3.0 with eclipse3.3.1 and jboss4.2.3

 
Deepti Guduru
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • 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!
 
sameer ravindra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create ejb3 proj using eclipse ganymede....
 
Deepti Guduru
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Thank you everyone who took time and guided me in my work.

Thanks,
Deepthi
 
stephen selva
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!