After a long time, I was able to develop a Java application, with a graphical interface (swing), which simulates access to a given site and extracts data. The problem is that as it simulates a browser (with HtmlUnit), it needs Tomcat, and when I try to run the application on another machine (and I'll need to use it on both Windows and MAC machines), it does not run because of Tomcat radius.
The question is: How do I load Tomcat into a non-web application, so that the jar is "self-sufficient"? I use Netbeans, and, if information is important, the application uses Apache's Commons Codec libraries, Apache's POI and HtmlUnit.