[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

JGF1 do-not-reply at jboss.com
Fri Mar 7 13:03:19 EST 2008


In case anyone wants to build/run this here are commands to run from BMP folder:
javac -d . beans_2x\*.java
javac -d . beans\*.java
javac -d . client\*.java

jar vcf StockListApp.ejb3 beans/*.class

jar vcf StockList2Bmp.jar META-INF/ejb-jar.xml META-INF/jboss.xml beans_2x/*.class
jar vcf StockListBmpApp.ear META-INF/application.xml StockList2xBmp.jar

Set up database: 
http://localhost:8080/jmx-console/

Follow Hypersonic URL

DROP TABLE stock if exists;
cretae table stock
(
  tickerSymbol VARCHAR(10),
  name VARCHAR(50),
    CONSTRAINT pk_stock PRIMARY KEY (tickerSymbol)
);

>From Menu:
Options>Commit

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134933#4134933

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134933



More information about the jboss-user mailing list