Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 10 of 39 Next 10 Older Entries

Displaying posts with tag: totd (reset)

TOTD #150: Collection of GlassFish, NetBeans, JPA, JSF, JAX-WS, EJB, Jersey, MySQL, Rails, Eclipse, and OSGi tips
Employee +0 Vote Up -1Vote Down

This is the 150th tip published on this blog so decided to make it a collection of all the previous ones. Here is a tag cloud (created from wordle.net/create) from title of all the tips:

As expected GlassFish is the most prominent topic. And then there are several entries on NetBeans, JRuby/Rails, several Java EE 6 technologies like JPA, JAX-WS, JAX-RS, EJB, and JSF, and more entries on Eclipse, OSGi and some other tecnhologies too. Here is a complete collection of all the tips published so far:

  [Read more...]
TOTD #150: Collection of GlassFish, NetBeans, JPA, JSF, JAX-WS, EJB, Jersey, MySQL, Rails, Eclipse, and OSGi tips
Employee +0 Vote Up -0Vote Down

This is the 150th tip published on this blog so decided to make it a collection of all the previous ones. Here is a tag cloud (created from wordle.net/create) from title of all the tips:

As expected GlassFish is the most prominent topic. And then there are several entries on NetBeans, JRuby/Rails, several Java EE 6 technologies like JPA, JAX-WS, JAX-RS, EJB, and JSF, and more entries on Eclipse, OSGi and some other tecnhologies too. Here is a complete collection of all the tips published so far:

  [Read more...]
TOTD #150: Collection of GlassFish, NetBeans, JPA, JSF, JAX-WS, EJB, Jersey, MySQL, Rails, Eclipse, and OSGi tips
Employee +0 Vote Up -0Vote Down

This is the 150th tip published on this blog so decided to make it a collection of all the previous ones. Here is a tag cloud (created from wordle.net/create) from title of all the tips:

As expected GlassFish is the most prominent topic. And then there are several entries on NetBeans, JRuby/Rails, several Java EE 6 technologies like JPA, JAX-WS, JAX-RS, EJB, and JSF, and more entries on Eclipse, OSGi and some other tecnhologies too. Here is a complete collection of all the tips published so far:

  [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...]
    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...]
    Showing entries 1 to 10 of 39 Next 10 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.