View Full Version : To Rod Johnson or Juergen Hoeller or Spring Team
Oct 28th, 2004, 08:28 PM
Can you give me one simple example that usage of EJBs with Spring?
My Email: email@example.com
Oct 29th, 2004, 05:33 AM
What particular EJB usage scenario are you looking at? Session beans, MDBs, entity beans?
Oct 30th, 2004, 01:46 AM
I'm looking at Entity Beans. Can you show me one example?
Thank for Reading
Oct 31st, 2004, 01:58 PM
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.
Oct 31st, 2004, 07:11 PM
Can you post one example using ORM solution instead of Entity.
Using Struts+Spring + ORM Solution + EJB+Jboss. Can you post your example here?
Nov 1st, 2004, 06:46 AM
You got all sorts of examples already shipped with Spring:
But probably before you go and have a look at them you should thouroghly go through documentation:
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)
Nov 2nd, 2004, 04:04 AM
Thanks alesj very much.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.