Announcement Announcement Module
No announcement yet.
Should I or could I use Spring within EJB's Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Should I or could I use Spring within EJB's

    I am working in a firm that is new to java and I am the only java programmer and I need to write about 10 systems within a few months.. The firm has 2 other programmers that know basic java. Not Spring or anything like that.

    I did a number of prototypes using Spring, hibernate and MySQL. By the SA's are pushing us to use EJB's (we just got JBoss). So now the manger is thinking about having me move the DAO and Hibernate layer into EJB's.

    So we will use Spring for the MVC (web) and then make it do EJB class for all data access so the Jr Programmers don't have to know how to access MySQL and the AS/400.

    So for my question. I would like to know if I can use Spring within the EJBs.. Stuff like JDBCTemplate plus Hibernate. What I am trying is moving the DAO layer right inside a EJB..

    Can this be done? if so should it be done?