my dog learned polymorphism
The moose likes Other Application Frameworks and the fly likes Spring can replace EJB local home interfaces? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Spring can replace EJB local home interfaces?" Watch "Spring can replace EJB local home interfaces?" New topic

Spring can replace EJB local home interfaces?

Thomas Turser

Joined: Nov 23, 2001
Posts: 7

I'm considering Spring as an alternative to EJBs for web applications development. According to documentation Spring seems to be a suitable framework, but there's still an important point I don't know how to solve.

My organization is intending to develop some web applications (maybe using Spring):

Each application will be deployed as a separate war in the same servlet container. Some WARs will expose business services (no GUI at all);
other ones will be thin GUI web applications accessing the services implemented by the first ones.

I'd like to avoid remoting strategies (because of communication overhead for a single JVM). EJB local architecture seems to be a right solution.

Do you know an implementation alternative using Spring Container?

I need a kind of remoting through an intra-VM mechanism:
callers living in a WAR, calling service objects living in the same VM but inside another WAR

Any ideas?

Thanks in advance
I agree. Here's the link:
subject: Spring can replace EJB local home interfaces?
It's not a secret anymore!