Serialized Form
Package example.cmp.basic |
home
CourseHome home
- Cached reference to the CourseHome interface. Because this object
never changes, the client can look it up once in the
init()
method and avoid JNDI calls for each request.
userTrans
javax.transaction.UserTransaction userTrans
- Cached reference to the UserTransaction. Because this object
never changes, the client can look it up once in the
init()
method and avoid JNDI calls for each request.
Normally, Resin-CMP clients will use business methods to
encapsulate transactions. This example uses an explicit
UserTransaction to explain more clearly what's going on.
Package example.cmp.create |
home
CourseHome home
Package example.cmp.ejbql |
courseHome
CourseHome courseHome
teacherHome
TeacherHome teacherHome
studentHome
StudentHome studentHome
houseHome
HouseHome houseHome
home
CourseHome home
- The course local home interface. It is set in the servlet's
init() method.
studentHome
StudentHome studentHome
quidditchHome
QuidditchHome quidditchHome
Package example.cmp.many2many |
studentHome
StudentHome studentHome
courseHome
CourseHome courseHome
studentHome
StudentHome studentHome
courseHome
CourseHome courseHome
studentHome
StudentHome studentHome
courseHome
CourseHome courseHome
gradeHome
GradeHome gradeHome
Package example.cmp.one2many |
studentHome
StudentHome studentHome
houseHome
HouseHome houseHome
Package example.cmp.one2one |
teacherHome
TeacherHome teacherHome
courseHome
CourseHome courseHome
Package example.cmp.select |
studentHome
StudentHome studentHome
houseHome
HouseHome houseHome
Package example.cmp.transaction |
registrationSessionHome
RegistrationSessionHome registrationSessionHome
courseHome
CourseHome courseHome
Package example.entity.home |
home
Home home
- Caches the home interface from the JNDI lookup.
Package example.session.counter |
counterHome
CounterHome counterHome
- The servlet stores the home interface after the initial lookup.
Since the home interface never changes, caching the lookup will save
some performance.
Package example.stateless.hello |
helloHome
HelloHome helloHome
- The servlet stores the home interface after the initial lookup.
Since the home interface never changes, caching the lookup will save
some performance.