razshan
razshan

Reputation: 1138

Making a Java Application available via a Web Browser

I am working on a Java program that has bunch of classes consisting of dialog boxes, JFrames, etc.

Can someone guide me where I can learn how to transform it to an 'applet' kind of. ( I don't even know if applet is the right word)

Like for example, can it be accessible through the internet browser. If I somehow make a domain www.myjavaprogram2011.com it would be nice if it will take it straight to the java program I coded. I see this as anyone can come to this website and use that program.

Thanks!

Upvotes: 1

Views: 127

Answers (3)

Puce
Puce

Reputation: 38122

Sounds you're looking for some kind of RIA technology. Have a look at JavaFX, though it's not mature yet IMHO.

Ah, but then, if you already have a Swing application then this isn't an option probably.

Upvotes: 0

Buhake Sindi
Buhake Sindi

Reputation: 89169

Java Applets isn't your best bet as there's lots of security permissions that you need to worry about as well as your jars needs to be signed (especially for client/server data access).

Try using Java Web Start, it will allow you to launch fully-featured application from the Web Browser. Oracle has tutorials on deployment of JWS, etc.

Upvotes: 2

Jim
Jim

Reputation: 22646

You may want to look into Jars for distribution or probably more aptly Java Web Start as this allows Clients to be downloaded and run.

Upvotes: 2

Related Questions