Announcement Announcement Module
Collapse
No announcement yet.
Spring EJBS Abstract classes Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring EJBS Abstract classes

    Hi ,
    I am new to spring .But i have one doubt that , is it really advisable to use abstract EJBS classes which is provided by Spring . Instead of using direct classes. I am think ing in terms of Session beans and Message Driven beans .Can anyone give the advantage of using Spring frameworks classes over EJBS ?

    Thanks
    ABhishek

  • #2
    The beans already provide implementation hooks for loading the application context and already implement the interfaces for the different beans (i.e. SessionBean etc.).

    So the only thing you have to do is implement business stuff and let the beans handle the plumping/default methods for you.

    Comment


    • #3
      Hi ,
      Is it the Dynamic creation of interfaces or static ? one more thing do we need to write the xml files whch we used to write for EJBS ?

      Comment


      • #4
        You still have to do the normal EJB stuff create Remote/Local interfaces, write the deployment desciptors etc. There are tools (i.e. XDoclet) which can take away that burden.

        Comment

        Working...
        X