閱讀全文
posted @ 2006-07-28 19:19 Earth 閱讀(211) | 評論 (0) | 編輯 收藏
posts - 59, comments - 2, trackbacks - 0, articles - 0 |
||
摘要: This trail discusses how to setup role based security constraints to limit access to any POJO methods in an EJB 3.0 application.
閱讀全文 posted @ 2006-07-28 19:19 Earth 閱讀(211) | 評論 (0) | 編輯 收藏 摘要:
Transactions This trail shows how to declare transactional properties for any POJO methods in an EJB 3.0 application and how transactions work for database operations. Application Transactions Application transaction is a long running transaction that spans across several method invocations in different threads. It especially useful in session-based web applications, where each transaction might involve a series of pages. In this trail, we will show how application tra 閱讀全文 posted @ 2006-07-28 06:11 Earth 閱讀(395) | 評論 (0) | 編輯 收藏 摘要: This trail discusses how to use entity beans with databases other than the default embedded HSQLDB. We will also discuss the concepts of multiple persistence context and the persistence archive packaging. 閱讀全文
posted @ 2006-07-28 04:03 Earth 閱讀(535) | 評論 (0) | 編輯 收藏 摘要: In this hike, we will go through trails that explore the key features of the EJB 3.0 entity bean programming model and the EntityManager API. 閱讀全文
posted @ 2006-07-28 02:28 Earth 閱讀(507) | 評論 (0) | 編輯 收藏 摘要: Let's start with a discussion on how Object / Relational Mapping technology works in EJB 3.0. 閱讀全文
posted @ 2006-07-28 02:21 Earth 閱讀(241) | 評論 (0) | 編輯 收藏 to be finished...
posted @ 2006-07-27 15:59 Earth 閱讀(178) | 評論 (0) | 編輯 收藏 摘要: In the previous trail, we covered how to implement a Message Driven Bean in EJB 3.0. The @MessageDriven annotation eliminated the need for complex configuration files. However, the message driven bean itself is still not a POJO -- it still need to implement the MessageListener interface. In JBoss AS, we provide another more elegant way to provide messaging services... 閱讀全文
posted @ 2006-07-27 15:17 Earth 閱讀(246) | 評論 (0) | 編輯 收藏 摘要: This trail discusses the EJB 3.0 Message Driven Beans (MDBs), which serve as JMS endpoints in enterprise applications. 閱讀全文
posted @ 2006-07-27 14:24 Earth 閱讀(219) | 評論 (0) | 編輯 收藏 摘要: Internally, the core of the JBoss Application Server is a JMX (Java Management eXtension) server. All JBoss services are configured as MBeans and registered with the JMX server. This trail covers how to use the JBoss EJB 3.0 extension to quickly develop MBean services. 閱讀全文
posted @ 2006-07-27 13:10 Earth 閱讀(257) | 評論 (0) | 編輯 收藏 摘要: 第四天Stateful Session Beans
disucsses how to build and use EJB 3.0 stateful session beans, which have field variables tied to a specific client session (e.g., an HTTP session). Those beans are very useful in session-based web applications (e.g., a shopping cart). 第五天Session Bean Life Cycle discusses how the EJB 3.0 container creates, activates, destroyes session bean instances. We will cover callback methods you can use to automate the bean behavior in its life cycle. 閱讀全文 posted @ 2006-07-27 13:07 Earth 閱讀(171) | 評論 (0) | 編輯 收藏 |
||