[jboss-dev-forums] [JBoss Transactions Development] - Re: Starting with JBoss Transactions

adinn do-not-reply at jboss.com
Fri Oct 9 05:20:21 EDT 2009


anonymous wrote : 
  | What I have to do to start a empty project in Eclipse and uses XTS? Thanks again :)
  | 

If you have managed to build your XTS tree then you will find the deployable service archive jbossxts.sar in xts-install/sar. Install this in the server deploy directory for your app server and you can then also deploy either a client or server application which uses XTS to the same server deploy directory.

If you take a look inside the sar file (e.g. jar tvf jbossxts.sar) you will see that is built using a variety of jar and war files. The only one you need to develop an XTS application is the api jar which you will find in xts-install/lib/jbossxts-api.jar. This jar exposes all the publicly visible types your application (and eclipse) needs to know about (see the user guide for a full explanation of how to use the API types). Add this as an external API jar in your eclipse project so that eclipse can resolve references to the XTS API classes. Also ensure that it is in the classpath when you compile your application. That should be all you need.

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

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



More information about the jboss-dev-forums mailing list