Java Web Start fast and easy...

I wrote my entry about creating a Java Web Start-able application client, without really knowing much about Java Web Start. So, I read through the white paper that Eduardo cited on The Aquarium to learn more about it.

After I read through the paper, I realized how much work NetBeans 5 and the GlassFish Project's is doing for the developer...

  • Package the app in a jar...Covered
  • Deploying a JWS App... Covered
  • Setting up the Web Server... Covered
  • Creating the JNLP File... Covered
  • Placing the Application on the Web Server... Covered
  • Creating the Web Page... Almost
None of these things are hard. But they add up and distract developers.

Then I got to thinking, does an application client need to access resources from the server? The answer is no. It might, but doesn't have to. That means that a developer could create a "plain old java application", wrap it up in an Enterprise Application and let the GlassFish Project's deployment mechanism do the tedious housekeepinng. Their app would be JWS enabled with hardly any effort.

Sweet!

Comments:

Hi Vince, thanks for your blog about web start EJB client. You wrote about support for JNLP, web start module deployment,... I didn't find these features in standard build of NetBeans 5.0. Should I donwload some aditional module for Web start? I know, the team in China is working on the web start module project type but it seems that the module isn't still public avalaible.

Posted by Petr Blaha on December 30, 2005 at 02:40 AM PST #

Petr,

I had heard that there was folks working on a module for creating Web Start-able projects from NetBeans. I actually was not refering to that effort, though.

My original entry wasn't very clear, so I will try to clarify it here....

By taking a plain old java application, packaging it in an enterprise application and deploying that app into a GlassFish domain, you get a lot of the work done to create a web start-able application done for you. NetBeans doesn't do it. The GlassFish domain does it.

There is a down-side to this strategy for creating web start-able applications: loss of flexibility.

Posted by vince kraemer on December 30, 2005 at 03:00 AM PST #

Post a Comment:
Comments are closed for this entry.
About


Vince Kraemer writes the entries in this blog.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
News
Blogroll

No bookmarks in folder

automarks