Home |  MySQL Buzz |  FAQ |  Feeds |  Submit your blog feed |  Feedback |  Archive |  Aggregate feed RSS 2.0 English Deutsch Español Français Italiano 日本語 Русский Português 中文
Previous 30 Newer Entries Showing entries 31 to 60 of 235 Next 30 Older Entries

Displaying posts with tag: glassfish (reset)

Friday Tips #2: Migrating JSF 1.2 + RichFaces to Java EE 6, Embedded and Arquillian, EJB 3.1 Timer, ...
Employee_Team +0 Vote Up -0Vote Down

Here are some tips that have been recently published on Java EE 6 & GlassFish:

Migrating JSF 1.2 + RichFaces 3.x to Java EE 6 / GlassFish v3
Mercurial and OpenSolaris and GlassFish
How do I setup a DataSource in Embedded GlassFish when using Arquillian?



  [Read more...]
CLI, Roller, Jersey, JavaOne... and More GlassFish News - April 27th, 2010
Employee_Team +0 Vote Up -0Vote Down

Install and Run Apache Roller 4.01 on GlassFish and OpenSolaris
Dave Koelmeyer has posted Detailed Instructions on how to install Apache Roller 4.01 on GlassFish v2.1 using MySQL 5.1 for storage.  He uses OpenSolaris snv_134, the subject of a tea-leaf-reading thread.

Slides and Code Samples on Jersey and JAX-RS
The Slides and code from Paul Sandoz's presentation at Presentation at AlpesJug on Jersey, JAX-RS and Atmosphere are now 


  [Read more...]
Fundamo, OSGi, iPad.. and More GlassFish News - April 24rd, 2010
Employee_Team +0 Vote Up -0Vote Down
Financial services on the go - GlassFish for Fundamo and profit
Alexis recently published a new Adoption Story on how Fundamo uses GlassFish v2 and OpenMQ for its Enterprise Platform. Overview at stories entry, details in questionnaire, and an overview in this earlier short video interview.
We are always interested in more GlassFish adoption stories, both from (non-paying) users and from (paying) customers.   Stories come from all industries and around the world,

  [Read more...]
TOTD #122: Creating a JPA Persistence Unit using NetBeans 6.8
Employee +0 Vote Up -0Vote Down

Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.

Lets get started!

  • Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
  • Add the GlassFish instance in NetBeans IDE using "Services" panel.
  • Create JPA entities using NetBeans IDE.
  • Create a Java class library:



  •   [Read more...]
    TOTD #122: Creating a JPA Persistence Unit using NetBeans 6.8
    Employee +0 Vote Up -0Vote Down

    Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.

    Lets get started!

  • Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
  • Add the GlassFish instance in NetBeans IDE using "Services" panel.
  • Create JPA entities using NetBeans IDE.
  • Create a Java class library:



  •   [Read more...]
    TOTD #122: Creating a JPA Persistence Unit using NetBeans 6.8
    Employee +0 Vote Up -0Vote Down

    Taking TOTD #121 forward, this blog explains how to create a JPA Persistence Unit for a MySQL sample database and package it as a library. This JAR file can then be easily included in other web applications.

    Lets get started!

  • Configure GlassFish for using the MySQL sample database (sakila) as described in TOTD #121.
  • Add the GlassFish instance in NetBeans IDE using "Services" panel.
  • Create JPA entities using NetBeans IDE.
  • Create a Java class library:



  •   [Read more...]
    TOTD #121: JDBC resource for MySQL and Oracle sample database in GlassFish v3
    Employee +0 Vote Up -0Vote Down

    This blog clearly explains how to configure the MySQL sample database (sakila) with GlassFish. Even though the instructions use a specific database but should work for other databases (such as Oracle, JavaDB, PostgreSQL, and others) as well. The second half of the blog provide specific syntax for the Oracle sample database.

  • Download sakila sample database and unzip the archive.
  • Install the database as described here - basically load and run "sakila-schema.sql" and "sakila-data.sql" extracted from the archive.
  • Create a new MySQL user account using MySQL CLI Admin and assign the privileges
  •   [Read more...]
    TOTD #121: JDBC resource for MySQL and Oracle sample database in GlassFish v3
    Employee +0 Vote Up -0Vote Down

    This blog clearly explains how to configure the MySQL sample database (sakila) with GlassFish. Even though the instructions use a specific database but should work for other databases (such as Oracle, JavaDB, PostgreSQL, and others) as well. The second half of the blog provide specific syntax for the Oracle sample database.

  • Download sakila sample database and unzip the archive.
  • Install the database as described here - basically load and run "sakila-schema.sql" and "sakila-data.sql" extracted from the archive.
  • Create a new MySQL user account using MySQL CLI Admin and assign the privileges
  •   [Read more...]
    TOTD #121: JDBC resource for MySQL and Oracle sample database in GlassFish v3
    Employee +0 Vote Up -0Vote Down

    This blog clearly explains how to configure the MySQL sample database (sakila) with GlassFish. Even though the instructions use a specific database but should work for other databases (such as Oracle, JavaDB, PostgreSQL, and others) as well. The second half of the blog provide specific syntax for the Oracle sample database.

  • Download sakila sample database and unzip the archive.
  • Install the database as described here - basically load and run "sakila-schema.sql" and "sakila-data.sql" extracted from the archive.
  • Create a new MySQL user account using MySQL CLI Admin and assign the privileges
  •   [Read more...]
    CAOS Theory Podcast 2010.02.05
    +0 Vote Up -0Vote Down

    Topics for this podcast:

    *Matt Asay moves from Alfresco to Canonical
    *GPL fade fuels heated discussion
    *Apple’s iPad and its enterprise and open source impact
    *Open source in data warehousing and storage
    *Our perspective on Oracle’s plans for Sun open source

    iTunes or direct download (32:50, 9.2 MB)

    Summary of Post-Oracle Links and Changes
    Employee_Team +0 Vote Up -0Vote Down

    This running entry collects key announcements related to Oracle's Acquisition of Sun; some from the Jan 27th event, some from companion webcasts, and some later announcements.

    The main theme of the acquisition is "We're Changing the Way you Buy, Run and Manage Business Systems".

    Main Entry Points:

      [Read more...]
    Introducing the DataSourceDefinition Annotation
    Employee +0 Vote Up -0Vote Down

    One of the many cool new features in Java EE 6, is support for the DataSourceDefinition annotation.

    The DataSourceDefinition annotation provides a way to define a DataSource and register it with JNDI. The annotation provided annotation elements for the commonly used DataSource properties. Additional standard and vendor specific properties may also be specified.

    So let us look at an example:

    @DataSourceDefinition(name = "java:global/MyApp/myDS",

    className = "org.apache.derby.jdbc.ClientDataSource",

    portNumber = 1527,

    serverName = "localhost",

    databaseName = "testDB",

    user = "lance",

    password = "secret",

    properties = {"createDatabase=create"}) )

    The data source will be registered using the















      [Read more...]
    Introducing the DataSourceDefinition Annotation
    Employee +0 Vote Up -0Vote Down

    One of the many cool new features in Java EE 6, is support for the DataSourceDefinition annotation.

    The DataSourceDefinition annotation provides a way to define a DataSource and register it with JNDI. The annotation provided annotation elements for the commonly used DataSource properties. Additional standard and vendor specific properties may also be specified.

    So let us look at an example:

    @DataSourceDefinition(name = "java:global/MyApp/myDS",
    className = "org.apache.derby.jdbc.ClientDataSource",
    portNumber = 1527,
    serverName = "localhost",
    databaseName = "testDB",
    user = "lance",
    password = "secret",
    properties = {"createDatabase=create"}) )

    The data source will be registered using the value specified in the name








      [Read more...]
    Waiting for Godot, Migrating to JavaEE 6, and Other Highlights from Nov 21th, 2009
    Employee_Team +1 Vote Up -0Vote Down

    Today is Nov 21th, 2009.

    News shorts of interest to our communities, including:
    New date for EU review of Oracle/Sun acquisition, getting closer to v3 fcs, new OpenESB and OpenDS releases, Devoxx whiteboards, new customers and japanese event, and more.

    Waiting for Godot
    I read Waiting for Godot for HS, but I didn't expect to live it...



      [Read more...]
    Extra GlassFish News - Nov 8th, 2009
    Employee_Team +0 Vote Up -0Vote Down

    This is the first of our weekly news catch-up and covers Nov 1 to Nov 11, 2009. This week the news catch-up is partial; next week I'll create the entry through the week and will try to be more comprehensive.

    This week we also cover old news on JRuby and OSGi.

    GlassFish and Middleware News

    • IBM DeveloperWorks: Introducing Metro. Nice to see IBM refering to the GlassFish WebServices implementation as it is Used by Many, including IBM. Incidentally,
      [Read more...]
    451 CAOS Links 2009.10.30
    +0 Vote Up -0Vote Down

    Government adoption. Financial results. New funding. And more.

    Follow 451 CAOS Links live @caostheory on Twitter and Identi.ca
    “Tracking the open source news wires, so you don’t have to.”

    For the latest on Oracle’s acquisition of MySQL via Sun, see Everything you always wanted to know about MySQL but were afraid to ask

    Government approval
    The US Department of Defense issued guidance on the adoption of open source software, while ComputerWorld reported that the U.S Department of Defense has open-sourced an enterprise


      [Read more...]
    New "Oracle and Sun Overview and FAQ"
    Employee_Team +4 Vote Up -0Vote Down

    Oracle has updated their page on Oracle and Sun and it now includes a PDF entitled "Oracle and Sun Overview and FAQ".  Check it out for comments on many topics covering Sun's Hardware (SPARC, Storage, x86) and Software offerings, including NetBeans, OpenOffice, MySQL, xVM OpsCenter, OpenSource, VirtualBox and GlassFish.

    NHIN Connect Using GlassFish and OpenESB
    Employee_Team +0 Vote Up -0Vote Down

    The importance of information exchange in Health Care will continue to grow and the Federal Goverment has several projects to improve it, while also trying to reduce costs. And, as Bill wrote earlier in the year, Sun's Open Source has been actively engaged in this.

    Added - Just noticed Tim O'Reilly's note on WhiteHouse.GOV's stack. They use MySQL, Drupal and Apache.

    The goal of the

      [Read more...]
    451 CAOS Links 2009.10.13
    +0 Vote Up -0Vote Down

    Larry Ellison promises funds for MySQL, commits to community. The “open source vendor” debate in a nutshell. And more.

    Follow 451 CAOS Links live @caostheory on Twitter and Identi.ca
    “Tracking the open source news wires, so you don’t have to.”

    # Larry Ellison promised MySQL will receive more money for development and research, while Oracle maintained that it is committed to Java and open source developer communities.

    # GroundWork raised $5m series D funding from Canaan Partners, Mayfield, JAFCO Ventures and SAP Ventures.

    # InformationWeek reported that Motorola has vacated its seat on the LiMo


      [Read more...]
    TOTD #109: How to convert a JSF managed bean to JSR 299 bean (Web Beans) ?
    Employee +0 Vote Up -0Vote Down

    This entry is a follow up to TOTD #95 and shows how to use the recent integrations of JSR 299 in GlassFish v3 to convert a JSF managed bean to a JSR 299 bean (aka Web Beans). The TOTD #95 describes a simple Java EE 6 web application that uses Java Server Faces 2.0 components for displaying the results of a database query conducted by EJB 3.1 and JPA 2.0 classes.

    The EJB class, which also acts as the

      [Read more...]
    TOTD #109: How to convert a JSF managed bean to JSR 299 bean (Web Beans) ?
    Employee +0 Vote Up -0Vote Down

    This entry is a follow up to TOTD #95 and shows how to use the recent integrations of JSR 299 in GlassFish v3 to convert a JSF managed bean to a JSR 299 bean (aka Web Beans). The TOTD #95 describes a simple Java EE 6 web application that uses Java Server Faces 2.0 components for displaying the results of a database query conducted by EJB 3.1 and JPA 2.0 classes.

    The EJB class, which also acts as

      [Read more...]
    TOTD #109: How to convert a JSF managed bean to JSR 299 bean (Web Beans) ?
    Employee +0 Vote Up -0Vote Down

    This entry is a follow up to TOTD #95 and shows how to use the recent integrations of JSR 299 in GlassFish v3 to convert a JSF managed bean to a JSR 299 bean (aka Web Beans). The TOTD #95 describes a simple Java EE 6 web application that uses Java Server Faces 2.0 components for displaying the results of a database query conducted by EJB 3.1 and JPA 2.0 classes.

    The EJB class, which also acts as

      [Read more...]
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts
    Employee +0 Vote Up -1Vote Down
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts

    An earlier blog introduced an application that provides basic tracking of your running distance and generate charts to monitor progress. The idea is to build the same application using different Web frameworks and deploy on GlassFish and then evaluate each framework based upon a pre-defined critieria. The first version was built using JRuby and Ruby-on-Rails. This blog announces the completion of the Apache Wicket version

      [Read more...]
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts
    Employee +0 Vote Up -0Vote Down
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts

    An earlier blog introduced an application that provides basic tracking of your running distance and generate charts to monitor progress. The idea is to build the same application using different Web frameworks and deploy on GlassFish and then evaluate each framework based upon a pre-defined critieria. The first version was built using JRuby and Ruby-on-Rails. This blog announces the completion of the Apache Wicket

      [Read more...]
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts
    Employee +0 Vote Up -0Vote Down
    Track your running miles using Apache Wicket, GlassFish, NetBeans, MySQL, and YUI Charts

    An earlier blog introduced an application that provides basic tracking of your running distance and generate charts to monitor progress. The idea is to build the same application using different Web frameworks and deploy on GlassFish and then evaluate each framework based upon a pre-defined critieria. The first version was built using JRuby and Ruby-on-Rails. This blog announces the completion of the Apache Wicket

      [Read more...]
    TOTD #99: Creating a Java EE 6 application using MySQL, JPA 2.0 and Servlet 3.0 with GlassFish Tools Bundle for Eclipse
    Employee +0 Vote Up -0Vote Down
    TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality.

    TOTD #98 showed how to create a simple Metro/JAX-WS compliant Web service using that bundle and deploy on GlassFish.

    This Tip Of The Day (TOTD)

      [Read more...]
    TOTD #99: Creating a Java EE 6 application using MySQL, JPA 2.0 and Servlet 3.0 with GlassFish Tools Bundle for Eclipse
    Employee +0 Vote Up -0Vote Down
    TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality.

    TOTD #98 showed how to create a simple Metro/JAX-WS compliant Web service using that bundle and deploy on GlassFish.

    This Tip Of The Day (TOTD)

      [Read more...]
    TOTD #99: Creating a Java EE 6 application using MySQL, JPA 2.0 and Servlet 3.0 with GlassFish Tools Bundle for Eclipse
    Employee +0 Vote Up -0Vote Down
    TOTD #97 showed how to install GlassFish Tools Bundle for Eclipse 1.1. Basically there are two options - either install Eclipse 3.4.2 with WTP and pre-bundled/configured with GlassFish v2/v3, MySQL JDBC driver and other features. Or if you are using Eclipse 3.5, then you can install the plug-in separately and get most of the functionality.

    TOTD #98 showed how to create a simple Metro/JAX-WS compliant Web service using that bundle and deploy on GlassFish.

    This Tip Of The Day

      [Read more...]
    Connection Pool Problems for MySQL/GlassFish/OpenSolaris
    Employee +0 Vote Up -0Vote Down

    Hi all,

    Last night I spent some time setting up a connection pool in GlassFish's admin console. Here's the backstory: I'm working on a training course for cloud computing, and as part of my module on assembling a virtual data center I ran into a few problems. I have two virtual servers running. One is running OpenSolaris and has GlassFish application server installed on it. The other is running Fedora Linux and has my MySQL database on it. The problems occurred when I tried to ping the database server from GlassFish. I got some strange messages. When a colleague of mine googled the problem, he found out that the problem was OpenSolaris specific. After downloading several .jar files the error message said weren't there, I stumbled upon the solution:

  • The solution was to copy my regular MySQL driver .jar file from my local machine to the
  •   [Read more...]
    Connection Pool Problems for MySQL/GlassFish/OpenSolaris
    Employee +0 Vote Up -0Vote Down

    Hi all,

    Last night I spent some time setting up a connection pool in GlassFish's admin console. Here's the backstory: I'm working on a training course for cloud computing, and as part of my module on assembling a virtual data center I ran into a few problems. I have two virtual servers running. One is running OpenSolaris and has GlassFish application server installed on it. The other is running Fedora Linux and has my MySQL database on it. The problems occurred when I tried to ping the database server from GlassFish. I got some strange messages. When a colleague of mine googled the problem, he found out that the problem was OpenSolaris specific. After downloading several .jar files the error message said weren't there, I stumbled upon the solution:

  • The solution was to copy my regular MySQL driver .jar file from my local machine to the
  •   [Read more...]
    Previous 30 Newer Entries Showing entries 31 to 60 of 235 Next 30 Older Entries

    Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

    Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.