<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Sreenivas Munnangi&apos;s Blog</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/msreddy/" />
<modified>2008-03-28T18:02:57Z</modified>
<tagline></tagline>
<id>tag:weblogs.java.net,2008:/blog/msreddy/402</id>
<generator url="http://www.movabletype.org/" version="3.01D">Movable Type</generator>
<copyright>Copyright (c) 2008, msreddy</copyright>
<entry>
<title>Java EE 5 samples integarte well with mysql database</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/msreddy/archive/2008/03/java_ee_5_sampl.html" />
<modified>2008-03-28T18:02:57Z</modified>
<issued>2008-03-28T18:02:51Z</issued>
<id>tag:weblogs.java.net,2008:/blog/msreddy/402.9419</id>
<created>2008-03-28T18:02:51Z</created>
<summary type="text/plain">Java EE 5 Samples integration with MySQL Database </summary>
<author>
<name>msreddy</name>

<email>Sreenivas.Munnangi@Sun.COM</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/msreddy/">
<![CDATA[As part of bundling mysql with GlassFish application server, I set out to test one of the existing samples on mysql which so far used the default Java DB database. It was easy and here are the steps.
</p>


<ul>
<li> Install the application server out of the bundle which includes MySQL.
<li> Start MySQL DB. <br> Refer this <a href="http://docs.sun.com/doc/820-3793">install guide</a> for information on how to start MySQL server.
<li>login to MySQL data base as root<br>
grant all privileges on *.* to 'dbuser'@'localhost' identified by 'dbpassword'; <br>
One can be more specific while granting privileges to restrict the scope of access. In addition, the values used for  user 'dbuser' and password 'dbpassword' are suggestive, you are free to change them but make sure they are referred appropriately in jdbc connection pool.
<li> Start the application server and connect to it through a browser at admin port 4848.<br>
create jdbc connection pool using the node Resources/JDBC/Connection Pools
<p>
<code>
Name: mysqlPool
Resource Type: javax.sql.DataSource
Database Vendor: mysql
</code>
<p>
click on next and define the following properties
<p>
<code>
databaseName: test
user: dbuser
password: dbpassword
Url: jdbc:mysql://localhost:3306/test
URL: jdbc:mysql://localhost:3306/test
</code>
<p>
The default port for MySQL is 3306. If it is different, replace the port 3306 with the correct port number.
<p>
<li>Crate jdbc resource using the node Resources/JDBC/JDBC Resources
<p>
<code>
JNDI Name: jdbc/mysql
Pool Name: mysqlPool
</code>
<li> Deploy the attached war file <a href="http://weblogs.java.net/blog/msreddy/archive/mysql/jsf-jpa-war.war">jsf-jpa-war.war</a> whose ./src/conf/persistence.xml uses jdbc/mysql<br>
For more information on the jsf-jpa-war sample, please refer to 
<a href="https://glassfish-samples.dev.java.net/source/browse/*checkout*/glassfish-samples/ws/javaee5/enterprise/jsf-jpa-war/docs/index.html">sample documentation</a>.
<p>
This is a part of the Java EE 5 samples bundle which can be downloaded from https://glassfish-samples.dev.java.net/
<li> Verify the working of deployed war by connecting to localhost:8080/jsf-jpa-war 

]]>

</content>
</entry>
<entry>
<title>GlassFish V2 UR1 extends support for AIX Platform</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/msreddy/archive/2008/01/glassfish_v2_ur_1.html" />
<modified>2008-01-23T17:30:57Z</modified>
<issued>2008-01-23T17:27:38Z</issued>
<id>tag:weblogs.java.net,2008:/blog/msreddy/402.9025</id>
<created>2008-01-23T17:27:38Z</created>
<summary type="text/plain">GlassFish V2 UR1 provides all of the stability and capabilities of the V2 release and support for AIX.</summary>
<author>
<name>msreddy</name>

<email>Sreenivas.Munnangi@Sun.COM</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/msreddy/">
<![CDATA[GlassFish V2 UR1 provides all of the stability and capabilities of the V2 release, plus many new improvements of which one is support for the AIX platform. Please refer to the <a href="https://glassfish.dev.java.net/downloads/v2ur1-b09d.html">GlassFish V2 Update Release Wiki Page</a> for details on improvements that are going into this release.
<br><br>
Apart from support through Forums, Mailing Lists it provides continuous and very useful blogs through <a href="http://blogs.sun.com/theaquarium/">Aquarium</a>.
<br><br>

Community participation and feedback are vital for defining the future direction. Currently there is a promotion <a href="http://java.sun.com/javaee/community/campaigns/iphone-012008/welcome.jsp">Try GlassFish for a chance to win an iPhone</a> going on to encourage the participation and feedback.]]>

</content>
</entry>
<entry>
<title>GlassFish V2 Hands On Lab at JavaOne</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/msreddy/archive/2007/05/glassfish_v2_ha.html" />
<modified>2007-05-22T20:11:48Z</modified>
<issued>2007-05-22T20:11:03Z</issued>
<id>tag:weblogs.java.net,2007:/blog/msreddy/402.7480</id>
<created>2007-05-22T20:11:03Z</created>
<summary type="text/plain">Familiarize the community with GlassFish V2 and </summary>
<author>
<name>msreddy</name>

<email>Sreenivas.Munnangi@Sun.COM</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/msreddy/">
<![CDATA[The objectives of the GlassFish V2 hands-on-lab at JavaOne 2007 are to 
<ul>
<li>familiarize the participants with Java EE 5 technologies using <a href="https://glassfish-samples.dev.java.net/">glassfish-samples project</a> and 
<li>to provide hands-on on enterprise <a href="https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html">clustering feature</a> using load balancer and in memory replication
</ul>
<p>
The entire lab material and the individual screencasts are available on SDN and can be downloaded. Here are the links:
<p>

<a href="http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-3315&yr=2007&track=3">Java EE 5 Hands-on and Clustering using Open Source GlassFish Application Server</a>
<br>
<ul>
<li> <a href="http://developers.sun.com/learning/javaoneonline/sessions/hol2007/3315/3315_glassfishV2/index.html">Instructions</a>
</li>
<li>
<a href="http://developers.sun.com/learning/javaoneonline/sessions/hol2007/3315/3315_glassfishV2.zip">Download</a>
</li>
<li>
<a href="http://developers.sun.com/learning/javaoneonline/sessions/hol2007/av/LAB-3315-1/LAB-3315-1.html">Screencast on Java EE 5 Technology Features using glassfish-samples project</a>
</li>
<li>
<a href="http://developers.sun.com/learning/javaoneonline/sessions/hol2007/av/LAB-3315-2/LAB-3315-2.html">Screencast on GlassFish V2 Clustering</a>
</li>
</ul>]]>

</content>
</entry>
<entry>
<title>GlassFish V2 Beta</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/msreddy/archive/2007/05/glassfish_v2_be.html" />
<modified>2007-05-01T23:44:40Z</modified>
<issued>2007-05-01T22:29:23Z</issued>
<id>tag:weblogs.java.net,2007:/blog/msreddy/402.7196</id>
<created>2007-05-01T22:29:23Z</created>
<summary type="text/plain">GlassFish V2 is a production-ready, open-source Java EE 5 application server currently in beta.</summary>
<author>
<name>msreddy</name>

<email>Sreenivas.Munnangi@Sun.COM</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/msreddy/">
<![CDATA[<p><a href="https://glassfish.dev.java.net/">GlassFish V2</a> is a production-ready, open-source Java EE 5 application server currently in beta.
</p>

<p>
V2 provides features like clustering, high availability (HA), load balancing, Microsoft Interoperability with Web Services Interoperability Technology (WSIT), great price/performance, next-generation Web with Ajax, Scripting and RESTful web services, NetBeans IDE integration, SOA support through Java Business Integration (JBI) for service-oriented architecture (SOA).
</p>

<p>
Other well known GlassFish features include...
<ul>
<li>Simplified development with NetBeans IDE and the Java EE 5 platform
<li>Includes Enterprise JavaBeans (EJB) 3.0, JavaServer Faces (JSF) 1.2, JavaServer Pages (JSP) 2.1, Java Servlet 2.5, Java API for XML Web Services (JAX-WS) 2.1 and Java Architecture for XML Binding (JAXB) 2.1 technologies. 
<li>Open source   General Public License (GPL) and Common Development and Distribution License (CDDL)
<li>Support:<a href="http://java.sun.com/javaee/support">java.sun.com/javaee/support</a>
<li>Adoption:<a href="http://blogs.sun.com/stories">blogs.sun.com/stories</a>
<li>News:<a href="http://blogs.sun.com/theaquarium">blogs.sun.com/theaquarium</a> 
</ul>
</p>

<p>
GlassFish community is running a <a href="http://java.sun.com/javaee/community/campaigns/gftv-052007/welcome.jsp">
Fish for a Flat-Screen TV Contest</a> for developer adoption. Checkout this <a href="http://download.java.net/javaee5/screencasts/GlassFish-Campaign">screencast</a> for more details on the contest. 
</p>

<p>
GlassFish V2 beta is available for <b><a href="https://glassfish.dev.java.net/public/downloadsindex.html">download</a></b> today. Please try GlassFish V2 and let us know your feedback. 
</p>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1763394-2";
urchinTracker();
</script>
]]>

</content>
</entry>

</feed>