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 Tips to get started with ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tips to get started with ejb" Watch "Tips to get started with ejb" New topic
Author

Tips to get started with ejb

Ram N Sharma
Greenhorn

Joined: Feb 19, 2005
Posts: 26
I would like to get some tips on how to get started with Jboss and eclipse so that I can setup a test application for learning EJB. I would also like to know if there are better application servers for use as a learning tool. Any help would be greatly appreciated. I have installed lomboz plug-in for development in eclipse. Any info on how good lomboz is? Any alternatives?

Thanks
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

If you want to get started with JBoss, have a look at some of the documentation on the JBoss web site, in particular this.

When I am learning a new technology, I prefer to do all the manual work myself rather than relying on things like Lomboz. I find that its easier to learn if you have to "get your hands dirty".

JBoss is a good app server to use whether you are starting out or not.
Ram N Sharma
Greenhorn

Joined: Feb 19, 2005
Posts: 26
Dave
Thanks for your input. The only reason I am using Lomboz is because I did not find a J2ee project type in Eclipse and of course a perspective. What are the options ?
Ram
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Ram,

You�re approach is very good and I would encourage you to do so. However because you really want to learn ejbs, it might make sense to start everything from �scratch�. What I mean is that you can use a plain text editor like EditPad or TextPad. Use either ejb-gen or XDoclet and learn how to run the tool from command line or through ant in order to generate other ejb artifacts. Use also ant for packing and deployment. This is just basic stuff, which could become tricky or even complex in some circumstances and visual tool will hide this complexity from you. After you become familiar with the low level stuff you can go to the next level and use awesome tools like Eclipse in order to improve your coding proficiency. I personally always start learning things this way and so I started learning ejbs. I�m not implying that this is the best approach, but it is the best that works for me.


I think, therefore I exist -- Rene Descartes
Ram N Sharma
Greenhorn

Joined: Feb 19, 2005
Posts: 26
Valentin

Thanks for your feedback. I am new to ejb but I not new to development exp using java/j2ee and eclipse. I just have not had a need for ejb until now. So with existing tools what would be a good approach. Of course, the theoretcial aspects can be gleaned from books which is what I am doing. But I like to learn by example.

Ram
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
I never used lomboz and I cannot tell if it is widely used with real projects. It definitely has a lot of value and improves the development environment, since it will allow one to develop and deploy ejb applications from within eclipse. However most of the projects will use tools like maven or simply ant-based home growing frameworks as their building environment. It is also very common for project managers to use tools that come with their application servers. Will eclipse & lombonz help you to learn ejb? I�m pretty sure it will. On the other hand you might become very proficient using lomboz and have never a chance to apply your knowledge in a real project. I guess you shouldn�t be much concerned about the tools you need to use or learn at this time. If you�re familiar with eclipse, then go ahead and use eclipse and lombonz is absolutely nothing wrong with this. What really matters at this time is to understand all the fundamental ejb concepts through some good books and exercises.
Regards.
Ray Muirhead
Ranch Hand

Joined: Jun 11, 2004
Posts: 44
This tutorial has served some of my classmates and myself well:

http://docs.jboss.org/ejb3/app-server/tutorial/

as well as the TrailBlazers available from http://jboss.org on the front page, if you are interested in EJB 3.0.

~Ray
 
jQuery in Action, 2nd edition
 
subject: Tips to get started with ejb
 
Similar Threads
Lomboz and Eclipse: Where are docs?
How to practise web services?
Eclipse - Jonas Integartion with Lomboz
Eclipse w/ lomboz plugin - jboss won't start
Eclipse vs NetBeans