Configuring and Starting the GlassFish Application Server

Test Drive This Tutorial: Configuring and Starting the GlassFish Application Server

This "mini-tutorial" is planned for NetBeans 6.0 FCS Release.

This tutorial runs with NetBeans 6.0 Milestone 10 and later builds. Download Daily and latest builds for NetBeans 6.0 IDE.

The idea behind this tutorial is to isolate basic set-up instructions that are shared by many tutorials. These instructions can then be maintained in a single space. Other NetBeans tutorials will reference this tutorial in their basic set-up instructions. The user then will get the same set-up instructions throughout their tutorial experience.

Update1: It turns out that starting with Milestone 10, if the GlassFish Application Server is not running when you deploy an application, it will automatically start anyway. I've modified the tutorial accordingly. Changes are marked with change bars.

Update2: I've made additional changes based on comments I've received. Please review the comment thread. Any additional feedback is welcome!

Comments:

Vince,

This is a nice tutorial. I would make one modification, though...

You refer to a "SOA Installation" and a "Tools Bundle Installation", but its isn't very clear what those things are. Some description of these installations may be helpful. A link to the "homepage" for these bundles might be even better... though I guess that will need to wait until the server is FCS and has a Sun installer, instead of the 'java -jar + ant" installation method.

vbk

Posted by vince kraemer on July 29, 2007 at 05:20 AM PDT #

Vince, this is great. How ever, I have some comments.
It is too long and little bit confusing . If users downloaded and installed the full NetBeans 6.0 including the GlassFish Application Server, they do not need to configure the GlassFish Application Server at all, because it is supposed to be out of the box experience. It is very important that new users know about this out of the box experience and feel the ease of use for deploying their application. Users who installed the AppServer separately, they already have some knowledge about AppServer. For them it is sufficient to tell them simply how to add (configure) the previously installed appserver.
I created a simpler version of this tutorial in my LoanProcessing tutorial: http://blogs.sun.com/barkodar/ under NetBeans 6.0 FCS Tutorial Drafts category.
Please review this tutorial and send me your comments.

Posted by Sherry Barkodar on August 07, 2007 at 07:40 AM PDT #

Sherry, I made some changes based on your comments. Please read the notes at the beginning of the tutorial.

I expect your tutorials will have a simple one-line reference to this tutorial. So your tutorials automatically become stream-lined!

I also look at the target audience as new NetBeans users, not just SOA Pack users. So I generalized some of the steps, and did not make assumptions about their user level w/respect to the App Server and the NetBeans IDE.

If you (or others) feel that the procedures are confusing or too complicated, even after these modifications, please let me know.

Posted by Vince Genovese on August 07, 2007 at 09:43 AM PDT #

Vince, Thanks for doing this tutorial and removing specific reference to SOA-Pack tutorials makes sense. Also I agree with you about NOT moving Configuration Section to the first section(same reason). I also updated my version to illustrate the out of the box feature of App server starting with "Did you Know"
Please take a look at my loanprocessing tutorial inmy Blog.
The tutorials all will point to this tutorial when is finalized.
Cookbookks, though, could be self contain and have its own version.
Thanks,
Sherry

Posted by Sherry Barkodar on August 08, 2007 at 01:06 AM PDT #

Hi Vince,

I noticed that the representation of the GlassFish server log in the Netbeans output window is parsing the actual different from the actual server.log on the file system. E.g. there is no indication on the time a log entry occured. Do you happen to know if this is configurable within Netbeans?

Thanks,
Kris

Posted by kris on April 23, 2008 at 11:20 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I've been writing technical documentation at Sun for eight years.

I plan to use this blog to test-drive NetBeans tutorials, provide commentary on SOA technology, and tell you a little about myself and my interests.

-- Vince Genovese

Search

Categories
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