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.
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.
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
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.
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...