EJB
共 5 篇文章
websphere create scheduler
EAR project WEB project Hashtable<String, String> env = new Hashtable<String, String>(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory"); InitialContext = new InitialContext(env); Scheduler scheduler = (Scheduler)ic.lookup("scheuler_JNDI"); BeanTaskInfo…
2014-10-10 00:02 · EJB
Using was6-maven-plugin to generate ejb stub
to configure th plugin, add the following to your build plugin. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>was6-maven-plugin</artifactId> <version>1.2</version> <executions> <execution> <phase>validate</phase> <goals> <goal>ejbdeploy</goal> </goals> </execution> </executions> <config…
2014-09-12 09:36 · EJB
SCBCD Notes
Client can NOT call EJB direct, but through mediator JMS in case of MDB(Message Driven Bean) Container provides class implementing bean's interface: component interface & home interface Instance of class implementing component interface is called EJBObject client call EJB through two player: EJBObj…
2011-10-01 08:08 · EJB
JPA Notes
Most of notes here coming from the book [ Apress Pro EJB 3 JPI] http://developers.sun.com/learning/javaoneonline/2006/coreenterprise/TS-9056.pdf ? Persistent Unit A set of managed classes that are mapped to a single database and their mapping metadata. An entity manager factory and all entity manag…
2009-12-22 11:30 · EJB · JPA · EJB · JDBC · Hibernate · Bean
EJB Spec study notes
Business interface 1. interfaces are excluded when determine whether bean has more than one interface: Serializable, Externalizable, any interface defined by javax.ejb.* 2. Same interface can not be used as Local and Remote interface 3. wont extend EJB(Local)Object, previous version 2.1 will do it.…
2009-09-07 07:33 · EJB · Go · EJB · Bean