Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBs and mainframes

 
nandan johri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
nandan johri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic