DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > How to Use NetBeans DataClassG Plugin with Web Applications

How to Use NetBeans DataClassG Plugin with Web Applications

Aristides Villarreal Bravo user avatar by
Aristides Villarreal Bravo
·
Jul. 23, 11 · Java Zone · Interview
Like (0)
Save
Tweet
4.24K Views

Join the DZone community and get the full member experience.

Join For Free
The NetBeans DataClassG Plugin provides a class generator from databases, together with a new basic API for database persistence. Install the plugin and then take the following steps to use it.

  1. Create a web project:


  2. Select the GlassFish Server:


  3. Select Java Server Faces and PrimeFaces:


  4. The web project is created, as usual:

  5. Add a new database connection in the Services window:

  6. Select the plugin's button in the toolbar:

  7. Choose the connection:

  8. Packages and classes are generated:

  9. Now we use the JSFClassG button:

  10. Windows:

  11. XHTML is generated:

  12. Configure the pool of conections in Glassfish:

  13. Run the project (test/test):

  14. Menu of the application:

application Web Service NetBeans

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Portfolio Architecture Examples: Retail Collection
  • Augmented Analytics: The Future of Business Intelligence
  • A First Look at CSS When and Else Statements
  • After Inspection, Comes Adaptation: How to Do Action-Based Retrospectives Right

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo