<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Matt's Blog &#187; GlassFish</title>
	<atom:link href="http://blog.rueedlinger.ch/category/glassfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rueedlinger.ch</link>
	<description>Software Engineering and Java</description>
	<lastBuildDate>Tue, 07 Sep 2010 17:38:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>EJB 3.1 and JSF 2.0 with GlassFish V3 Prelude</title>
		<link>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/</link>
		<comments>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 13:13:45 +0000</pubDate>
		<dc:creator>Matthias Rüedlinger</dc:creator>
				<category><![CDATA[GlassFish]]></category>
		<category><![CDATA[Java EE 6]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=17</guid>
		<description><![CDATA[I got finally some time to write a simple CRUD web application with EJB 3.1 (JPA) and JSF 2.0 (facelets). Keep in mind that JSF 2.0 and EJB 3.1 are still in development and that some features are not yet implemented or can change. The goal was to make a simple GlassFish V3 Prelude project [...]]]></description>
			<content:encoded><![CDATA[<p>I got finally some time to write a simple CRUD web application with EJB 3.1 (JPA) and JSF 2.0 (facelets). Keep in mind that JSF 2.0 and EJB 3.1 are still in development and that some features are not yet implemented or can change. The goal was to make a simple GlassFish V3 Prelude project setup for a CRUD web application with EJB 3.1, JSF 2.0 (facelets) and maven.</p>
<h3>First Install EJB 3.1 and JSF 2.0</h3>
<p>I used for this this example the GalssFish V3 Prelude <a href="https://glassfish.dev.java.net/downloads/v3-prelude.html">Platform-independent download file</a> with Java 1.6 on a Ubuntu 8.04 Linux.</p>
<p>Unzip the GlassFish zip file and run the <strong>updatetool</strong> to install the <strong>EJB 3.1</strong> and<strong> JSF 2.0</strong> components.</p>
<pre class="code">$ ./updatetool</pre>
<p><strong>Remark:</strong> You can also install JSF 2.0 and EJB 3.1 over the GlassFish web administration console (http://localhost:4848). Be sure to restart GlassFish after you have updated JSF 2.0 and EJB 3.1.</p>
<p>After that you can run the pkg command to list the installed components.</p>
<pre class="code">$ ./pkg list</pre>
<p>As you can see the EJB and JSF components were installed.</p>
<pre class="code">felix                                         1.2.2-0         installed  ----
glassfish-amx                                 3.0-28.3        installed  ----
glassfish-api                                 3.0-28.3        installed  ----
glassfish-common                              3.0-28.3        installed  ----
glassfish-ejb                                 3.0-28.3        installed  ----
glassfish-grizzly                             1.8.6.2-0       installed  ----
glassfish-gui                                 3.0-28.3        installed  ----
glassfish-hk2                                 3.0-28.3        installed  ----
glassfish-jca                                 3.0-28.3        installed  ----
glassfish-jdbc                                3.0-28.3        installed  ----
glassfish-jdbc-gui                            3.0-28.3        installed  ----
glassfish-jdbc-management                     3.0-28.3        installed  ----
glassfish-jpa                                 3.0-28.3        installed  ----
glassfish-jsf                                 2.0.0-5         installed  ----
glassfish-jta                                 3.0-28.3        installed  ----
glassfish-management                          3.0-28.3        installed  ----
glassfish-nucleus                             3.0-28.3        installed  ----
glassfish-registration                        3.0-28.3        installed  ----
glassfish-scripting                           3.0-28.3        installed  ----
glassfish-web                                 3.0-28.3        installed  ----
glassfish-web-gui                             3.0-28.3        installed  ----
glassfish-web-management                      3.0-28.3        installed  ----
javadb                                        10.2.2.1-0      installed  ----
pkg                                           1.0.7-15.1269   installed  ----
pkg-java                                      1.0.7-15.1269   installed  ----
python2.4-minimal                             2.4.4.0-15.1269 installed  ----
updatetool                                    2.0.0-15.1269   installed  ----
wxpython2.8-minimal                           2.8.8-15.1269   installed  ----</pre>
<h3>Create a simple maven project setup</h3>
<p>With the maven-archetype-webapp I created a simple webapp maven project.</p>
<pre class="code">mvn archetype:create
  -DgroupId=my.app.crud
  -DartifactId=CRUD-GVFv3
  -DarchetypeArtifactId=maven-archetype-webapp</pre>
<p>Now we have to customize our pom.xml file. We need some dependencies and the appropriate repositories. I used the following repositories:</p>
<pre class="code">
&lt;repositories&gt;
  &lt;repository&gt;
     &lt;id&gt;maven2-repository.dev.java.net&lt;/id&gt;
     &lt;name&gt;Java.net Repository for Maven&lt;/name&gt;
     &lt;url&gt;http://download.java.net/maven/2/&lt;/url&gt;
     &lt;layout&gt;default&lt;/layout&gt;
  &lt;/repository&gt;

  &lt;repository&gt;
     &lt;id&gt;glassfish-repository&lt;/id&gt;
     &lt;name&gt;Java.net Repository for Glassfish&lt;/name&gt;
     &lt;url&gt;http://download.java.net/maven/glassfish&lt;/url&gt;
  &lt;/repository&gt;
&lt;/repositories&gt;
</pre>
<p>To have the Java EE 6 JAR&#8217;s like EJB 3.1, JSF 2.0, etc in the build classpath I put the following dependencies in my pom.xml file.</p>
<pre class="code">
&lt;dependency&gt;
   &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
   &lt;artifactId&gt;javax.javaee&lt;/artifactId&gt;
   &lt;version&gt;3.0-Prelude-b28b&lt;/version&gt;
   &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;

&lt;dependency&gt;
   &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
   &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
   &lt;version&gt;2.0.0-b05&lt;/version&gt;
   &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;
</pre>
<p>I must say I&#8217;m not sure if these API&#8217;s are in sync with the current installed GlassFish. But an alternate way could be to use the maven <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies">system dependencies</a> and point them to the the EJB, JSF, JPA, and common annotations JAR&#8217;s of the installed GlassFish.</p>
<p>I&#8217;m sure when the Java EE 6 API gets stable we will find it in the java.net maven repository, but for now we have to be patient. :-)</p>
<p>We will deploy our application as WAR and so we need to customize our maven project a little. I added <strong> src/main/resources</strong> as web resource to the maven war plugin,  because we want to add some resources like <strong>META-INF/persistence.xml</strong> to the WAR file. The persistence.xml file is used to configure JPA and it must be placed inside of the META-INF directory of the WAR file. </p>
<p><strong>pom.xml</strong></p>
<pre class="xml" name="code">
&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;my.app.crud&lt;/groupId&gt;
  &lt;artifactId&gt;CRUD-GFv3&lt;/artifactId&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;name&gt;CRUD-GVFv3 Maven Webapp&lt;/name&gt;
  &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
      &lt;artifactId&gt;javax.javaee&lt;/artifactId&gt;
      &lt;version&gt;3.0-Prelude-b28b&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;

    &lt;dependency&gt;
      &lt;groupId&gt;com.sun.faces&lt;/groupId&gt;
      &lt;artifactId&gt;jsf-api&lt;/artifactId&gt;
      &lt;version&gt;2.0.0-b05&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
    &lt;/dependency&gt;

    &lt;dependency&gt;
      &lt;groupId&gt;junit&lt;/groupId&gt;
      &lt;artifactId&gt;junit&lt;/artifactId&gt;
      &lt;version&gt;3.8.1&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;

  &lt;build&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;configuration&gt;
          &lt;source&gt;1.5&lt;/source&gt;
          &lt;target&gt;1.5&lt;/target&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;

      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.0&lt;/version&gt;
        &lt;configuration&gt;
          &lt;warName&gt;${pom.artifactId}&lt;/warName&gt;
          &lt;webResources&gt;
            &lt;resource&gt;
              &lt;!-- this is relative to the pom.xml directory --&gt;
              &lt;directory&gt;src/main/resources&lt;/directory&gt;
            &lt;/resource&gt;
          &lt;/webResources&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;

    &lt;resources&gt;
      &lt;resource&gt;
        &lt;directory&gt;src/main/resources&lt;/directory&gt;
        &lt;filtering&gt;true&lt;/filtering&gt;
      &lt;/resource&gt;
    &lt;/resources&gt;

  &lt;/build&gt;

  &lt;repositories&gt;
    &lt;repository&gt;
      &lt;id&gt;maven2-repository.dev.java.net&lt;/id&gt;
      &lt;name&gt;Java.net Repository for Maven&lt;/name&gt;
      &lt;url&gt;http://download.java.net/maven/2/&lt;/url&gt;
      &lt;layout&gt;default&lt;/layout&gt;
    &lt;/repository&gt;
    &lt;repository&gt;
      &lt;id&gt;glassfish-repository&lt;/id&gt;
      &lt;name&gt;Java.net Repository for Glassfish&lt;/name&gt;
      &lt;url&gt;http://download.java.net/maven/glassfish&lt;/url&gt;
    &lt;/repository&gt;
  &lt;/repositories&gt;
&lt;/project&gt;
</pre>
<h3>Configure JPA</h3>
<p>For this example I used the default datasource <strong>jdbc/__default</strong> in GlassFish to store the JPA entities. The <strong>jdbc/__default</strong> datasource uses the apache derby database that comes preconfigured with GlassFish.</p>
<p>As you can see the persistence.xml was adapted for <strong>EclipseLink</strong>, <a href="http://blogs.sun.com/theaquarium/entry/eclipselink_in_glassfish_v3_as">which is the new JPA implementation in GlassFIsh V3</a>. </p>
<p>I used an <a href="http://wiki.eclipse.org/EclipseLink/Examples/JPA/RCP#Persistence.xml">example from the EclipseLink</a> homepage and adapted it for the GlassFish container.</p>
<p><strong>persistence.xml</strong></p>
<pre class="xml" name="code">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;persistence xmlns=&quot;http://java.sun.com/xml/ns/persistence&quot;&gt;
  &lt;persistence-unit name=&quot;defaultPersistenceUnit&quot;
    transaction-type=&quot;JTA&quot;&gt;
    &lt;jta-data-source&gt;jdbc/__default&lt;/jta-data-source&gt;
    &lt;properties&gt;
      &lt;property name=&quot;eclipselink.jdbc.driver&quot;
        value=&quot;org.apache.derby.jdbc.ClientDriver&quot; /&gt;

      &lt;property name=&quot;eclipselink.jdbc.url&quot;
        value=&quot;jdbc:derby://localhost:1527/CRUDGFv3;create=true&quot; /&gt;

      &lt;property name=&quot;eclipselink.jdbc.user&quot; value=&quot;app&quot; /&gt;

      &lt;property name=&quot;eclipselink.jdbc.password&quot; value=&quot;app&quot; /&gt;

      &lt;property name=&quot;eclipselink.ddl-generation&quot;
        value=&quot;drop-and-create-tables&quot; /&gt;

      &lt;property name=&quot;eclipselink.ddl-generation.output-mode&quot;
        value=&quot;database&quot; /&gt;

      &lt;!-- Logging --&gt;
      &lt;property name=&quot;eclipselink.logging.level&quot; value=&quot;FINE&quot; /&gt;
      &lt;property name=&quot;eclipselink.logging.timestamp&quot; value=&quot;false&quot; /&gt;
      &lt;property name=&quot;eclipselink.logging.session&quot; value=&quot;false&quot; /&gt;
      &lt;property name=&quot;eclipselink.logging.thread&quot; value=&quot;false&quot; /&gt;

    &lt;/properties&gt;
  &lt;/persistence-unit&gt;
&lt;/persistence&gt;
</pre>
<h3>Configure JSF</h3>
<p><strong>Hint</strong>: Be sure to use at least the 2.5 web.xml deployment descriptor. When you use a previous version of the deployment descriptor dependency injection like <strong>@EJB</strong> will not work.</p>
<p>In the web.xml we declare the mapping for the JSF servlet. </p>
<p><strong>web.xml</strong></p>
<pre class="xml" name="code">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	version="2.5"&gt;

	&lt;display-name&gt;Sample CRUD EJB 3.1 / JSF 2.0 App&lt;/display-name&gt;

	&lt;servlet&gt;
		&lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
		&lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
		&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
	&lt;/servlet&gt;

	&lt;servlet-mapping&gt;
		&lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
		&lt;url-pattern&gt;/faces/*&lt;/url-pattern&gt;
	&lt;/servlet-mapping&gt;
&lt;/web-app&gt;
</pre>
<p>The faces-config was customized for JSF 2.0 and so we can use faclets which was include in JSF 2.0. Be sure that you use a JSF 2.0 faces-config.xml file when you want to use the new JSF 2.0 features. </p>
<p>I just added some old fashion navigation rules and  to declare the managed bean we will use the new <strong>@ManagedBean</strong> annotation.</p>
<p><strong>faces-config.xml</strong></p>
<pre class="xml" name="code">&lt;?xml version="1.0"?&gt;
&lt;faces-config xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"

	version="2.0"&gt;

	&lt;navigation-rule&gt;
		&lt;from-view-id&gt;/listBooks.xhtml&lt;/from-view-id&gt;
		&lt;navigation-case&gt;
			&lt;from-outcome&gt;editBook.xhtml&lt;/from-outcome&gt;
			&lt;to-view-id&gt;/editBook.xhtml&lt;/to-view-id&gt;
		&lt;/navigation-case&gt;
	&lt;/navigation-rule&gt;

	&lt;navigation-rule&gt;
		&lt;from-view-id&gt;/editBook.xhtml&lt;/from-view-id&gt;
		&lt;navigation-case&gt;
			&lt;from-outcome&gt;listBooks.xhtml&lt;/from-outcome&gt;
			&lt;to-view-id&gt;/listBooks.xhtml&lt;/to-view-id&gt;
		&lt;/navigation-case&gt;
	&lt;/navigation-rule&gt;
&lt;/faces-config&gt;
</pre>
<p>JSF 2.0 has some cool new annotations to declare managed beans an their scope. The following example shows a managed bean declared with the @ManagedBean annotation. The session scope for this managed bean is specified with the @SessionScoped annotation. </p>
<pre class="code">
import javax.faces.model.ManagedBean;
import javax.faces.model.SessionScoped;

@ManagedBean(name = "BookBean")
@SessionScoped
public class BookManagedBean {
   ...
}
</pre>
<h3>Create a simple CRUD Application with EJB 3.1 and JSF 2.0</h3>
<p>I created the following Java artifacts.</p>
<ul>
<li><a href='http://blog.rueedlinger.ch/wp-content/uploads/2008/11/bookservicebeanjava.txt'>BookServiceBean.java</a> (Session Bean)</li>
<li><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/bookjava.txt">Book.java</a> (JPA Entity)</li>
<li><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/bookmanagedbeanjava.txt">BookManagedBean.java</a> (Managed Bean)</li>
</ul>
<p>And the following JSF pages.</p>
<ul>
<li><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/editbookxhtml.txt">editBook.xhtml</a></li>
<li><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/listbooksxhtml.txt">listBooks.xhtml</a></li>
</ul>
<h3>Prepare deployment</h3>
<p>So now it&#8217;s time to startup GlassFish and the include derby database</p>
<pre class="code">$ ./asadmin start-domain
$ ./asadmin start-database
</pre>
<p>We create our WAR file with the following maven command.</p>
<pre class="code">
$ mvn package
</pre>
<p>The last step is to deploy our application.</p>
<pre class="code">$ ./asadmin deploy /home/mr/project/CRUD-GFv3/target/CRUD-GFv3.war
</pre>
<p><strong>Remark:</strong> It seemed that when I deploy the WAR over the web administration console I had to restart GlassFish. After the restart the CRUD example worked correctly.</p>
<p>Finally the hard work is over&#8230;. :-) The application should now be deployed and you can try it out under the following address.<br />
<strong>http://localhost:8080/CRUD-GFv3</strong></p>
<p><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/crud-example.png"><img class="alignnone size-medium wp-image-18" title="crud-example" src="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/crud-example-300x193.png" alt="" width="300" height="193" /></a></p>
<h3>Source Code CRUD-GFv3</h3>
<p>You can download the full source code as ZIP file.</p>
<ul>
<li><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/11/crud-gfv3.zip">crud-gfv3.zip</a></li>
</ul>
<p><strong>Remark</strong> I also tested my example with Windows XP and the GlassFish V3 Prelude Platform-independent download file. So nobody can say I only preferred Linux&#8230;. :-) <strong>But bear in mind that the example could not work because of some changes in the Java EE 6 API that occurred after the writing of this post.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rueedlinger.ch/2008/11/ejb-31-and-jsf-20-with-glassfish-v3-prelude/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>First look at GlassFish V3 Prelude</title>
		<link>http://blog.rueedlinger.ch/2008/10/first-look-at-glassfish-v3-part-1/</link>
		<comments>http://blog.rueedlinger.ch/2008/10/first-look-at-glassfish-v3-part-1/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 20:15:12 +0000</pubDate>
		<dc:creator>Matthias Rüedlinger</dc:creator>
				<category><![CDATA[GlassFish]]></category>
		<category><![CDATA[Java EE 6]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.rueedlinger.ch/?p=10</guid>
		<description><![CDATA[So finally I was able to install GlassFish V3 (glassfish-v3-prelude-b28 ) on my Ubuntu Linux. The previous version didn&#8217;t work because I was not able to run the update tool.
First download GlassFish V3 Prelude b28 and run the following commands.

$ chmod 755 glassfish-v3-prelude-b28b-unix.sh
$ ./glassfish-v3-prelude-b28b-unix.sh

Hint : When you choose a password for your GlassFish make sure [...]]]></description>
			<content:encoded><![CDATA[<p>So finally I was able to install GlassFish V3 (<a href="http://download.java.net/glassfish/v3-prelude/promoted/">glassfish-v3-prelude-b28</a> ) on my Ubuntu Linux. The previous version didn&#8217;t work because I was not able to run the update tool.</p>
<p>First download GlassFish V3 Prelude b28 and run the following commands.</p>
<pre class="code">
$ chmod 755 glassfish-v3-prelude-b28b-unix.sh
$ ./glassfish-v3-prelude-b28b-unix.sh
</pre>
<p><strong>Hint</strong> : When you choose a password for your GlassFish make sure that it has at least eight characters. The Installer does not remark that. When you choose a password which has not eight characters the GlassFish Installer is not able to create a domain.</p>
<p>With the update tool we can now enable features like EJB 3.1 and JSF 2.0.</p>
<pre class="code">
$ cd glassfish-v3-prelude-b28b/bin
$ ./updatetool
</pre>
<p>To deploy some EJB Apps we have to install the EJB container. Obviously the EJB container is just 463.4 kB.<br />
<a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/screenshot-update-tool.png"><img class="alignnone size-full wp-image-7" title="screenshot-update-tool" src="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/screenshot-update-tool.png" alt="" title="screenshot-update-tool" width="500" height="353" /> </a></p>
<p>I think we can effort some 600 kB more and the we have JSF 2.0 enabled.</p>
<p><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/screenshot-update-tool-1.png"><img class="alignnone size-full wp-image-9" title="screenshot-update-tool-1" src="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/screenshot-update-tool-1.png" alt="" title="screenshot-update-tool-1" width="500" height="353" /> </a></p>
<p>So it&#8217;s about time to start GlassFish and login for the first time.</p>
<pre class="code"">
$ ./asadmin start-domain
</pre>
<p><a href="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/login_glassfishv3.png"><img class="alignnone size-full wp-image-12" title="login_glassfishv3" src="http://blog.rueedlinger.ch/wp-content/uploads/2008/10/login_glassfishv3.png" alt="" title="login_glassfishv3" width="500" height="460" /> </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rueedlinger.ch/2008/10/first-look-at-glassfish-v3-part-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
