I have created simple
Java ChatServer and ChatClient. The ChatServer is a stand-alone program (JVM). ChatClient has the GUI for messaging, connects to ChatServer and so on. These two works find on my workstation. I open ChatServer for connection first, then ChatClient works.
Now, I was told to use Chef to deploy this Java app. I have read tutorials on Chef. I have went through the installation of Chef Development Kit and done some examples. It seems like there are a lot more to it..
What are some suggested ways to deploy Java app via Chef? I think I will need to make it a .war file.. and probably use
Tomcat? Can this be done with
Ant? If this is to be deployed via Chef, do I still need ChatServer that uses JVM? Can anyone provide some guidance on the basic steps I need to take in order for me to accomplish this?
I will add any code if necessary.. I am a beginner and really confused here.. any advice would be helpful!