What is the most appropriate server-side component to use when providing read-write access to the existing database schema in the new application?

You are designing the next-generation purchase order processing system at your company.
Although the presentation and business logic tiers will be designed and built using the Java
platform, the existing relational database will be re-used, because its design has proven to be fast,
scalable, and reliable. Ease and speed of development is an important consideration. What is the
most appropriate server-side component to use when providing read-write access to the existing
database schema in the new application?

You are designing the next-generation purchase order processing system at your company.
Although the presentation and business logic tiers will be designed and built using the Java
platform, the existing relational database will be re-used, because its design has proven to be fast,
scalable, and reliable. Ease and speed of development is an important consideration. What is the
most appropriate server-side component to use when providing read-write access to the existing
database schema in the new application?

A.
stateless session beans using JDBC directly

B.
Java Persistence API (JPA) accessed using a DAO layer

C.
message-driven beans using a JMS queue and a DAO layer

D.
stateful session beans coupled with a thread per concurrent request

E.
bean-managed persistence (BMP) entity beans accessed using a DAO layer



Leave a Reply 0

Your email address will not be published. Required fields are marked *