File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Need help in creating a java bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Need help in creating a java bean" Watch "Need help in creating a java bean" New topic
Author

Need help in creating a java bean

gayatri saripalli
Greenhorn

Joined: Dec 10, 2009
Posts: 1
Hi ,
I am a beginner in EJB and i need help .
I am using jboss and eclipse galileo.
When i created a new session bean then i had to create the interfaces also ,which i did and then created a .jar file .
After that i am clueless how to go about it .
Any one who can help me would be great help to me.

Thanks,
Gayatri S
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 377
You then need to create client jar file which contains stub and other container related classes and put that jar file in the classpath of the application(coudl be webapplication or Swing application) that is using the ejb.


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 639
Eclipse has a set of plugins called JBoss Tools which helps with the creation of J2EE applications.

I downloaded JBossTools from:

https://www.jboss.org/tools/download.html

Note that it's installed via an Update procedure. The above page explains this.

I then used the following tutorial to create a J2EE application which consists of EJBs and servlets:

http://www-wi.uni-muenster.de/pi/lehre/ss09/EAI/tutorials/tutorial_jboss_project.html

I hope this helps,
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Need help in creating a java bean
 
Similar Threads
Data base persistance in Entity Beans & web logic
Can Session bean and Entity Bean talk??
Entity Bean
BMP and Data Source Mapping in WSAD 5.0?
Are Session thread safe.