Results 1 to 4 of 4

Thread: Spring EJBS Abstract classes

  1. #1

    Default 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. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    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.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3

    Default

    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 ?

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    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.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •