Wow. Talk about a tough nut!
You might want to think about finding a ready to use local server
written in Java, and put a shiny face on that. It would mean a fairly
large download for your users, but you would be in complete control
over the finished product. Your application would start a Web server
on a high non-standard port, then pass a system request for the URL
(something like http://localhost:9090/path/to/the/files), and the
default browser would open it. This could work on both Windows and Mac
OS if you got the basics done right.
I haven’t written a Web server in Java before, but in Ruby it’s about
7 lines of code (importing massive standard library widgets and
calling them). The advantage to doing all of this in Java would be
that you could include everything your application needs in one Jar
and not worry about any dependencies.
This is more or less what FrontPage does in order to allow local
testing. You can also see something similar in Locomotive, which is a
Ruby on Rails development “sandbox” that runs in normal user space on
Mac OS.
Walter
On Jan 9, 2010, at 1:30 PM, Jim Crowell wrote:
On 9 Jan 2010, 4:27 pm, waltd wrote:
If you set up a shell script to launch the relevant processes, then
you could easily use the same application over the Web and locally.
But it’s going to require that the client computer have a working Web
server, a Tomcat or another JSP container, and the necessary paths
set
to access the Derby DB. If your client is running MacOS, then this is
going to be very simple. On Windows, it’s more work to set up, but it
can be done.
If you want to have a user interface for the report system, and you
don’t want to write all that in Swing as well as in JSP, then you
might want to investigate this.
Your above suggestion is definitely worth looking into.
A user interface is required in both modes. At a minimum the end
user shall select the form to be displayed.
How unusual would this be?
On my XP node I use FrontPage 98 to build web pages.
When I enter the FrontPage Explorer it sets up a “Front Page
Personal Web Server” in it’s own process. I think it may be required
if FP extensions are used in the constructed HTML. As long as the
end user terminates FP98 properly, the Web Server is removed.
If my kernel did something similar it would have to be responsible
for the housekeeping! Also, would setting up a Web Server process
add greatly to my System Requirements?
My initial application [Survivors List PLUS] market is horizontal
but my primary customer would be Seniors who I would think do not
upgrade their computers often.
Just thinking out loud.
Thanks again. I will look into it.
Jim…
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options