Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 509535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:01:15+00:00 2026-05-13T07:01:15+00:00

have you used spring and EJB together in a project? It it’s good or

  • 0

have you used spring and EJB together in a project? It it’s good or not. And how, what you used spring and EJB for?
thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:01:15+00:00Added an answer on May 13, 2026 at 7:01 am

    The Spring manual has a comprehensive chapter on EJB integration:

    […] it is important to note that
    using Spring does not prevent you from
    using EJBs. In fact, Spring makes it
    much easier to access EJBs and
    implement EJBs and functionality
    within them. Additionally, using
    Spring to access services provided by
    EJBs allows the implementation of
    those services to later transparently
    be switched between local EJB, remote
    EJB, or POJO (plain old Java object)
    variants, without the client code
    having to be changed.

    The value lies mainly in accessing stateless session beans, since they conform more closely to Spring’s service-oriented model of doing things. You also get some value from stateful session beans and entity beans, but only to a limited degree. EJB2 entity beans are so badly designed that no amount of Spring polishing can hide the nastiness beneath.

    The question remains as to why you would want to do this. Spring’s own capabilities are at least a match for EJB. The most common reason for mixing the two is if you have an existing codebase that uses EJB, and you need to integrate a Spring application with it. If there’s no existing EJB, there isn’t really any point, you may as well stick with Spring all the way through.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far I have just used Spring beans that are singletons but now I
I have seen Sitemesh used with Spring and Freemarker(FTL). So I want to know
I have a web application that uses Struts2 + Spring for the resource injection,
I'm writing a Java EE application using JBoss AS 6 and I have a
I have Tomcat server on my localhost and on deploy server is Jetty. I
Im using a J2ee application with spring framework 2.0 on a apache tomcat 5.5.
i have a question for you. I have a component that have 2 methods.
I've got code that I am using from another team and I have spent
I am attempting to create a EJB3.0 container-managed persistence bean and am having issues
I am developing an application to help my office track and manage reviews. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.