Hello I know its silly question but I am new in this technology and I have problem with deploying my EJB in JBoss.
I have 3 classes :
org.ejb.wybory.Model.class - Remote Interface
org.ejb.wybory.ModelHome.class - Home Interface
org.ejb.wybory.ModelBean.class - EJB
and I have ejb-jar.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
Dane
<display-name>Model</display-name>
<ejb-name>ModelEJB</ejb-name>
org.ejb.wybory.ModelHome
org.ejb.wybory.Model
<ejb-class>org.ejb.wybory.ModelBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
</ejb-jar>
I packed it :
jar -cvf wybory.jar Meta-Inf org/ejb/wybory/*.class
and copy wybory jar into \jboss-4.0.1\server\all\deploy
and it thoes not work :(
what did I do wrong?
Thx
Waglik