Yes, that is possible. What operating system? Do you plan on writing this by yourself or will you use tools such as InstallShield?
Im using suse10.2.
Im planning to write it by myself i dont know much about install shield but i want to do it in a easy way.
I just want that if a person who doesn't have any knowledge about jboss or suse or any java applications asked to install jboss then he should be able to do it without much problem by just inserting a disk which will have all my stuff and a script and by running the script all of my work is done automatically.
Build a JBossAS distribution that contains your applications, this includes and JAR , WAR, EAR and *-ds.xml file that your app needs. You can place this all onto a single config, such as server/default. You do not need to supply any other configuration (that is, no need for server/all or server/minimal).
You could use an Ant script to copy the JBossAS from the CD to the user's system and even populate the database (the script will have to ask the user for a user name and password). The script could even update the *-ds.xml file with that info (very easy when using the 'expandProperties' 'filterChain'). You can even package Ant on the CD, no need for the user to have it already.
To set up a CD to run a shell script (which runs Ant) when the CD is inserted, see http://research.silmaril.ie/autoruncd/
THANKS PETER for the reply and help .i will look forward for the instructions given in the link.
Once again thank you very much.
i have gone through the link but i really don't have any idea how to install it as i am very much new to all these things .So can you please tell me what exactly i have to do . Please peter help me out .
One more hint - on your hard drive create an exact image of what appears on the CD. For example, at /opt/cdimage, place the exact set of files and directories that appear on the CD. You can then 'cd' to that directory and run the autorun script manually. Once you are certain that this 'cd image' works correctly, you can then burn it to an actual CD. Or convert it to an ISO file and let people download and mount the ISO.
ok peter i will try to do what you have suggested me to do and hope for success i will let you know if i get any problem .
Thanks a lot peter