Creating Installable.exe for client-server application in JBOSS
posted 12 years ago
Hi All, I have written one client-server application,Application server being JBOSS_Tomcat. The client application has Swing components.GUI based application. The server side part uses lot of EJB beans(Stateless Session Bean,Stateful Session Bean,CMP Entity Beans,MDBs),Also it uses JMS (both Topics and queues) and has mySQL database configured, "abc" database having "xyz"-n tables,n being 1-6.
While in the development process I am succesfully able to run the application in two modes. 1.client jar file starting the application server.( Desktop ) 2.Running the application server seperately and then starting the client application.(Distributed) both the times JBOSS is installed manually and the server.jar file goes in %SystemDrive%/$JBOSS_HOME/server/default/deploy/ directory. Now I want to bundle everything and make an installsheild,A setup.exe,which will not only put the server.jar and client.jar files under \Program Files\MyProgram\. but also have other necessary JBOSS files needed to run the application server,and pre Configured mySQL table .I want to know what are necessary files that I need to put in Program Files in the MyProgram package. Or is it that I need to install JBOSS and mySQL seperately on every clean machine and then put the server file in %SystemDrive%/JBOSS_HOME/server/default/deploy/ itself. I am using INNOSETUP tool for creating installsheild. It is really urgent .As the days to close this development is very near. Thanks a lot in advance for any help.