Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!

rob hinds

Greenhorn
+ Follow
since Sep 23, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rob hinds

have you followed the instructions here: http://download.oracle.com/javase/tutorial/deployment/jar/run.html (from the above link) - specifically adding the main class definition in the manifest?

After that, the jar can be executed using the following command:

java -jar jar-file-name


some OS will handle this on double click so you dont have to type this every time, but this is not guaranteed on every OS..

The other option is to create a bat/sh file that can be double clicked to launch the jar.
10 years ago
Ulf is correct - Android itself is a framework for mobile development and exposes a very rich API for mobiles.

For further info on Android 3rd party libs etc check here http://stackoverflow.com/questions/4078479/what-android-3rd-party-libraries-are-there/4078596#4078596

its a very comprehensive list of whats available.
10 years ago
Hi Folks,

First of all, apologies if this post is either 1) in the wrong forum or 2) a horrendous mis-application of java/JSP


I have a java test harness application that I have created, it runs from the command line, taking two arguments (the name of the app you want to test and the location of the properties file) and it then looks up the app in the properties file and tests the application - writing results to html reports and errors to logs... all pretty standard so far.


The apps i normally test are usually on an app server (normally IBMs WAS), so I thought, why dont I create a Web Application with a nice JSP page listing all the applications that can be tested(extracted from the properties file) and allow the user to go to the jsp and just click the "test this service" button or "view results" button for any service - just to make it more manageable.

So I have created the JSP page with the list of applications, and the links to all the result.html files - so now I just need to implement the functionality to be able to hit the link "Test now" and the test harness runs in the background.


Does anyone please have any ideas?

The best i came up with was creating a link to a new jsp page that had the code on it to create the main Test Harness object and then calling the execute() method - however, when i press the link i get taken to the page but my tests arent run? (this test was run on Tomcat if that makes any difference)


Any ideas? of any better ways to approach the task?

Thanks in advance guys!!
13 years ago
JSP