von anson anson Vor 15 Jahren
788
Mehr dazu
Resource Manager Type
Connection Factory Type
JNDI Subcontext
JDBC
javax.sql.DataSource
java:comp/env/jdbc
JMS
javax.jms.TopicConnectionFactory
javax.jms.QueueConnectionFactory
java:comp/env/jms
JavaMail
javax.mail.Session
java:comp/env/mail
URL
java.net.URL
java:comp/env/url
Connector
javax.resource.cci.ConnectionFactory
java:comp/env/eis
JAXR Resource Adapter
javax.xml.registry.ConnectionFactory
java:comp/env/eis/JAXR
-com
-classes
-META-INF
-MANIFEST.MF
<?xml version="1.0"?>
<project name="jartest" default="jar basedir=".">
<property name="build.dir" value="${basedir}/build" />
<property name="build.classes.dir" value="${basedir}/classes" />
<target name="jar" description="Archieve to jar">
<jar jarfile="${basedir}/ejbfile.jar">
ejb-jar.xml (Deployment Descriptor)
Can use annotation instead!
InvocationContext
Life-Cycle
newInstance()
TreeSet
HashSet
No Duplicate
LinkedList
removeLast()
removeFirst()
getLast()
getFirst()
addLast()
addFirst()
More transaction..
ArrayList
list.size()
list.add()
list.get()
Iterator iterator = list.iterator();
while(iterator.hasNext())
List
Ordering
Map