【正文】
re from its predecessors, following this new paradigm. It shows a clear influence from Spring in its use of POJOs, and its support for dependency injection to simplify configuration and integration of heterogeneous systems. Gavin King, the creator of Hibernate, participated in the EJB process and is an outspoken advocate of the technology. Many features originally in Hibernate were incorporated in the Java Persistence API, the replacement for entity beans in EJB . The EJB specification relies heavily on the use of annotations, a feature added to the Java language with its release and Convention over configuration, to enable a much less verbose coding style. ? Accordingly, in practical terms EJB is very nearly a pletely new API, bearing little resemblance to the previous EJB specifications. 樣例文本 B ? Gradually an industry consensus emerged that the original EJB specification39。與特定實例無關(guān),僅負(fù)責(zé)一些公共內(nèi)容,比如創(chuàng)建一個新的 EJB實例( create方法),或?qū)ふ乙粋€已經(jīng)存在的 EJB實例( find方法)等等。 EJB容器負(fù)責(zé)創(chuàng)建這個類的實例,接口則供客戶端調(diào)