Can you give me one simple example that usage of EJBs with Spring?
My Email: the_light_river@yahoo.com
Can you give me one simple example that usage of EJBs with Spring?
My Email: the_light_river@yahoo.com
What particular EJB usage scenario are you looking at? Session beans, MDBs, entity beans?
Rob
I'm looking at Entity Beans. Can you show me one example?
Thank for Reading
I suggest that insted of using Entity beans you look at some ORM solution - Hibernate, JDO or something lightweight as IBatis.
Since as far as I know Spring has no usage of Entity bean, but has a nice variety of utilities for all that stuff that I mentioned.
If you want to learn more about Entity beans probably the best book that I came by was 'Mastering Enterprise JavaBeans second edition' by Ed Roman.
Rgds, Ales
Thank Ales,
Can you post one example using ORM solution instead of Entity.
Using Struts+Spring + ORM Solution + EJB+Jboss. Can you post your example here?
You got all sorts of examples already shipped with Spring:
http://cvs.sourceforge.net/viewcvs.p...pring/samples/
But probably before you go and have a look at them you should thouroghly go through documentation:
http://www.springframework.org/docs/...nce/index.html
All these ORM (aspecially Hibernate) are really well explained. And there is also nice EJB access introduction.
But since you are looking for such 'global J2EE example' - how experienced with EJB are you (no offence meant)? Do you really need them - won't Spring be enough - with his great transaction and DAO coverage, well integrated AOP, scheduling, ...?
If EJB is really what you need, I belive there is a nice example app somewhere in CVS repository (also check other topics on EJB). Go step by step, really try to understand for your self how things are done, and then ask as much as possible precise questions. I'm sure people with experience will be glad to answer you. Answering such 'vast' question is probably impossible. 8)
Rgds, Ales
Thanks alesj very much.