Let's go inside

this blog is deprecated as a result of laziness.
posts - 59, comments - 2, trackbacks - 0, articles - 0

JavaEE5/EJB3

     摘要: EJB3 Demo成果展示。。just odds and ends,...dont' waste your precious time  阅读全文

posted @ 2006-08-04 05:29 Earth 阅读(499) | 评论 (0)  编辑 |

     摘要: just odds and ends,...dont' waste your precious time  阅读全文

posted @ 2006-08-03 05:34 Earth 阅读(890) | 评论 (0)  编辑 |

     摘要: Using EJB 3.0 interceptors, you can write your own container services and apply them to any POJOs via simple annotations. In trail, we will use a familiar logging / tracing example to show how it is done.
  阅读全文

posted @ 2006-07-28 19:22 Earth 阅读(267) | 评论 (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 阅读(204) | 评论 (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 阅读(387) | 评论 (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 阅读(529) | 评论 (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 阅读(500) | 评论 (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 阅读(234) | 评论 (0)  编辑 |

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 阅读(233) | 评论 (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 阅读(211) | 评论 (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 阅读(253) | 评论 (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 阅读(163) | 评论 (0)  编辑 |

     摘要: Getting Started
This hike provides an overview of the EJB 3.0 programming model, as well as how to install and use the JBoss EJB 3.0 application server.

Stateless Session Beans
This trail illustrates how to develop and use EJB 3.0 stateless session beans. Those beans can be used to build the programming interface between the middleware and the front-end servlets or rich UI clients.

  阅读全文

posted @ 2006-07-23 14:36 Earth 阅读(355) | 评论 (0)  编辑 |

     摘要: Eclipse3.1.2 + WTP1.0.2, 终于有机会见到一个不用ant直接用Eclipse打包和发布ear的项目了,不过例子代码好像不好,好歹让我熟悉了一下单独使用WTP。
又发现一个Struts+EJB3+ progresql的示例,等我看完后发上来。  阅读全文

posted @ 2006-07-20 07:06 Earth 阅读(514) | 评论 (0)  编辑 |

     摘要: 花了一段时间下载了jboss-4.0.4.GA, jboss-EJB-3.0_RC8-FD, JBossIDE-1.5.1.GA-Bundle-win32
然后。。。  阅读全文

posted @ 2006-07-19 11:49 Earth 阅读(357) | 评论 (0)  编辑 |