wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJBs and mainframes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJBs and mainframes" Watch "EJBs and mainframes" New topic
Author

EJBs and mainframes

nandan johri
Ranch Hand

Joined: Jan 12, 2006
Posts: 75
Can someone tell me how much integration dow e have between EJBs and mainframes in any app.Mainframes act as database for large organizations and EJBs act as the business tiers . so are these two normally integrated in a single app or are these two different things ?
actually I work on a spring app with MFs as backends and does not know if ejbs fit into it ? ejbs are distributed components whereas mainframes are completely oppsite.
if someone can also provide some good articles it would be really beneficial.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Without knowing more about your architecture, its very hard to help. However, your cueernt application sounds like it might be a candidate for a JCA adapter. JCA was designed to manage access to legacy resources such as mainframes.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
nandan johri
Ranch Hand

Joined: Jan 12, 2006
Posts: 75
i am not sure if can speak much abt the architecture .. but let me ask in a generic way .... for ejb apps , we have a database ... so when we implement persistance concepts we map those concepts over a db .... now when mainframes provide the data the situation becomes altogether different .. this is what i want to know how is the interaction between ejb and mainframes done .. is it through JCA ?? if anyone can provide some references it would be very helpful
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes JCA can be used to access a resource not normally accessable to a J2EE application. You would write an adapter to bridge between your J2EE application and the mainframe. The best place to start is with the JCA home page.
Meg Adal
Ranch Hand

Joined: Mar 12, 2002
Posts: 70
We are currently using J2EE and DB2 .
JSP for UI, EJB2.0 for business logic, DB2 for database on JBoss 4.
I am not clear about your question, but EJBs treat DB2 like any other Database. We do use jt400...

Thanks
M.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJBs and mainframes