I've got a bit of a question that I need some opinions on.
I have an application that I want to make web-accessible, for a few
select individuals. This application reads a central database and
displays some statistics and allows some modification of the data via
simple dialogs. It's currently a desktop application running on an
internal network. This is not sensitive data, so I'm not concerned
about security except for a basic user name and password check.
What would be the simplest way to make this a tool that is accessible
via the web?
I could use webstart, as I'm doing with the desktop application at the
moment via the intranet, but that would require a dedicated server
type of configuration, correct? This would be for allowing external
applications to access the database. My other alternative is to
convert the application into an Applet that can access the database of
the web host, for example, the MySQL instance that I know is currently
available on the server. We are not talking more than a couple of
hundred records here, so I'm thinking the Applet solution is not such
a bad call.
Here's my question : Are there any show-stopping downsides to using an
Applet in this instance? I've done a bit of browsing and looked at
some applets and there doesn't seem to be a reason not to use an
Applet, but as my Applet knowledge is very basic, I'd like some input
please.
Regards
Ewald
thank you for the reply.
I was under the impression that a Webstart application is treated just
like a normal Java application, so for it to access the remote server
database, I would need to open the database port on the server. This
does not appear to be a requirement with an Applet as the Applet can
directly access the database on the server as it also resides on the
server.
Am I completely missing the boat here?
Thank you
Ewald
There is no difference between Applets and Webstart applications other than:
a) You can embed an Applet
b) You can potentially talk to the webpage itself.
The applet resides on your local machine and you'll need to open a port to the database. If the database is on a different server, you'll need to sign the applet or get cross site scripting working.
Personally, if there was any doubt these days, I'd write a pure webapp.
Brendon
> --
> You received this message because you are subscribed to the Google Groups "CTJUG Tech" group.
> To post to this group, send email to CTJUG...@googlegroups.com
> To unsubscribe from this group, send email to CTJUG-Tech+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/CTJUG-Tech?hl=en
> For Cape Town Java User Group home page see http://www.ctjug.org.za/
> For jobs see http://jobs.gamatam.com/
thank you, I will upload the Webstart files to our web server and try
to get it running that way. The primary reason I do not want to go for
a Web app is that I also have a few graphs that are interactive (the
user can click on items to drill down) and I really don't feel like
rewriting these in Javascript or Flash. Java2D is currently being
used for the "animation", so a webapp would require quite a bit of
re-engineering.
Thank you, I hope I can get the Webstart application working from our webserver.
Regards
Ewald Horn
thank you for the feedback, I'm going to stick to a webstart solution
and rather invest in a dedicated server.
I like the idea of rolling the domain layer into a web service and
will be investigating this once the initial app is up and running with
global access.
Thank you for the assistance, I appreciate the great advice.
Regards
Ewald
--
You received this message because you are subscribed to the Google Groups "CTJUG Tech" group.
To post to this group, send email to CTJUG...@googlegroups.com
To unsubscribe from this group, send email to CTJUG-Tech+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/CTJUG-Tech?hl=en
For Cape Town Java User Group home page see http://www.ctjug.org.za/
For jobs see http://jobs.gamatam.com/
I can open applets in IE7 and Firefox 3.6.13, no problems at all.
Perhaps the JRE plugin is disabled on your system.
By dedicated server, I mean that I need to be able to give my webstart
application access to the database running on the server, no way to do
that with a shared-hosting account, so I have to add a R250/pm
overhead to the website cost to be able to do that. I was hoping to
get around that with an Applet, but it seems to me that that won't
happen.
Regards
Ewald
Regards
Ewald
--
You received this message because you are subscribed to the Google Groups "CTJUG Tech" group.
To post to this group, send email to CTJUG...@googlegroups.com
To unsubscribe from this group, send email to CTJUG-Tech+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/CTJUG-Tech?hl=en
For Cape Town Java User Group home page see http://www.ctjug.org.za/
For jobs see http://jobs.gamatam.com/