Hi,
I executed those examples included in JBOSS to see if my application server is working properly. I have some Java classes which use JMS to send/receive messages. I compiled all of those classes and put them all in one JAR fie My question is, do I need to make ant to run my classes or I can run the JAR file itself?
Can anyone let me know how I can run the JAR file?
p.s. I should say that I set the JBOSS_HOME properly, and them JMS can work with its examples through running ant.
Any kind of help is highly appreciated,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102729#4102729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102729
Hi,
I executed those examples included in JBOSS to see if my application server is working properly. I have some Java classes which use JMS to send/receive messages. I compiled all of those classes and put them all in one JAR fie My question is, do I need to make ant to run my classes or I can run the JAR file itself?
Can anyone let me know how I can run the JAR file?
p.s. I should say that I set the JBOSS_HOME properly, and them JMS can work with its examples through running ant.
Any kind of help is highly appreciated,
thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102727#4102727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102727
Hi all,
My classes are working fine with Sun application server, but I wanted to change my application server to JBOSS because of some version problems in their AS.
I have created my queues in JBOSS (by adding them in jbossmq-destinations-service.xml) , but do you know where I should create my ConnectionFactory?
I want to use the ConnectionFactory later on like this:
| jndiContext = new InitialContext();
| connectionFactory = (ConnectionFactory) jndiContext.lookup("myConnectionFactory");
| dest = (Destination) jndiContext.lookup(myQueue);
|
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102723#4102723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102723