| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" | |
| content="text/html; charset=ISO-8859-1"> | |
| <title>NetBeans IDE - Web Application Frameworks</title> | |
| <link rel="stylesheet" href="../../netbeans.css" type="text/css"> | |
| <meta name="description" | |
| content="NetBeans IDE - integrated tools for Java web application developers"> | |
| <meta http-equiv="content-language" content="en"> | |
| <link rel="stylesheet" type="text/css" href="../../features.css"> | |
| </head> | |
| <body> | |
| <h1><a name="web"></a>Web Application Frameworks</h1> | |
| <p> <a href="../../images_www/v7/screenshots/web-app2.png"><img | |
| alt="JSP web application development in the NetBeans IDE" | |
| src="../../images_www/v7/screenshots/web-app2-cut1.png" border="0" | |
| width="649"><br> | |
| <span class="font-11">Click image for fullscreen preview</span></a> </p> | |
| <p><strong> Rapidly build web applications using </strong><strong>JavaServer | |
| Faces (JSF), </strong><strong> JavaServer Pages (JSP),</strong><strong> | |
| </strong><strong>Java Web Start (JNLP),</strong><strong> <a | |
| href="../javascript/index.html" style="font-weight: bold;">JavaScript</a>, | |
| Ajax, CSS, and Applets. </strong></p> | |
| <table class="features-table"> | |
| <tbody> | |
| <tr> | |
| <td> | |
| <h2>Language-Aware Editor</h2> | |
| <p> The editor supports HTML, XHTML, JavaScript, JSP, JSF, CSS, | |
| expression language, and assists you with error hints, code completion, | |
| namespace completion, and documentation popups. It also recognizes | |
| Facelets libraries, composite components, and it can auto-import tags.<br> | |
| </p> | |
| <h2>JSF 2.1 Support</h2> | |
| <p>NetBeans IDE supports the latest JavaServer Faces (JSF) 2.1 | |
| standard, as well as the older 2.0 and 1.2 standards. NetBeans IDE's JSF 2.1 | |
| support includes numerous JSF-specific wizards and special | |
| functionality provided by the Facelets editor. JSF provides ease-of-use | |
| in the following ways: </p> | |
| <ul> | |
| <li> Makes it easy to construct a UI from a set of reusable UI | |
| components </li> | |
| <li> Simplifies migration of application data to and from the | |
| UI </li> | |
| <li> Helps manage UI state across server requests </li> | |
| <li>Provides a simple model for wiring client-generated events | |
| to server-side application code </li> | |
| <li>Allows custom UI components to be easily built and re-used</li> | |
| </ul> | |
| <p>You can use either JSP or Facelets (XHTML) for the front end | |
| of your JSF-enabled web application. | |
| You can use the PrimeFaces, RichFaces and IceFaces | |
| suites of JSF components.</p> | |
| <p> You can learn how to use our JavaServer Faces (JSF) support <a | |
| href="java-ee.html">here</a>. <br> | |
| <a class="notes" | |
| href="../../kb/docs/web/jsf20-intro.html">Introduction to JavaServer Faces 2.0</a> </p> | |
| <p> | |
| </p> | |
| </td> | |
| <td class="screenshots-col"><img alt="css editor" | |
| src="../../images_www/v6/features/webapp-css-editor.png" class="box" | |
| width="200" height="138"><br> | |
| <br> | |
| <img src="../../images_www/v7/features/web-jsf-config.png" | |
| class="box" alt="JSF configuration dialog" width="200" height="177"><br> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| <h2>Facelets Templates</h2> | |
| <p>Use Facelets to build and render the JSF component tree for | |
| application views. It supports all JSF components and provides | |
| development support when EL errors occur by enabling you to inspect the | |
| stack trace, component tree, and scoped variables.</p> | |
| <p>The IDE provides a Facelets Template wizard for creating | |
| Facelets templates, and a Facelets Template Client wizard for creating | |
| files that rely on a template.</p> | |
| </td> | |
| <td class="screenshots-col"><img | |
| src="../../images_www/v7/features/web-facelets-template.png" | |
| class="box" alt="facelets template wizard" width="200"></td> | |
| </tr> | |
| <tr> | |
| <td> | |
| <h2>Database and Data Binding Tools</h2> | |
| <p> Customize queries, add joins, specify criteria, preview | |
| results (and more) with the Query Editor. Use the Database Explorer to | |
| make connections to database servers, view and change database schema, | |
| view the data in your tables and views, and execute arbitrary SQL | |
| statements against a database. The IDE supports drag-and-drop binding | |
| to data services and includes a Data Provider API for binding to other | |
| heterogeneous data sources. </p> | |
| <p>The Database Explorer works with JavaDB (Derby), MySQL, Oracle | |
| database, and PostgreSQL out of the box. The Explorer supports any | |
| relational database for which there is a <a | |
| href="http://wiki.netbeans.org/wiki/view/DatabasesAndDrivers">JDBC | |
| driver</a>, including IBM DB2, Microsoft SQL Server, PointBase, Sybase, | |
| Informix, Cloudscape, InstantDB, Interbase, Firebird, FirstSQL, Mckoi | |
| SQL, HSQLDB, Hypersonic SQL, and Microsoft Access. </p> | |
| </td> | |
| <td class="screenshots-col"> | |
| <p><img alt="databases and drivers window" | |
| src="../../images_www/v7/1/features/javaee-databases.png" | |
| class="box" width="200"></p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> <a name="hibernate"></a> | |
| <h2>Hibernate Framework Support</h2> | |
| <p> Hibernate libraries are automatically bundled with your | |
| application when you select the Hibernate framework in the New Project | |
| wizard. The IDE provides wizards for creating Hibernate reverse engineering | |
| and configuration XML files and POJO classes. </p> | |
| <p> Refactoring Java classes and fields (find usages, rename, | |
| move) also updates the Hibernate mapping files accordingly. The Editor | |
| can auto-complete Java classes and fields as well as database | |
| table and column names in Hibernate mapping files, and some property | |
| names and values in Hibernate configuration files. Use hyperlinks to | |
| navigate between configuration and mapping files, as well as between | |
| mapping files and referenced Java classes. You can even execute HQL | |
| queries right in the IDE (including joins and clauses). <br> | |
| <a class="notes" href="../../kb/docs/web/hibernate-webapp.html">Using | |
| Hibernate in a Web Application</a> </p> | |
| </td> | |
| <td class="screenshots-col"> | |
| <p><img | |
| src="../../images_www/v6/5/features/hibernate-web-apps.png" | |
| alt="hibernate code generation" class="box" width="200" height="131"></p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> <a name="spring"></a> | |
| <h2>Spring Framework Support</h2> | |
| <p> You can select the Spring framework in the New Project wizard | |
| and immediately start out with a skeleton Spring Web MVC application | |
| complete with artifacts. Take advantage of refactoring (including XML | |
| configuration files), and code completion in the editor. Navigate | |
| quickly using hyperlinks and the new Go To Spring Bean dialog. Arrange | |
| sets of configuration files into custom groups and get a head-start by | |
| using wizards for XML configuration files and Spring Web MVC | |
| controllers. <br> | |
| <a class="notes" | |
| href="../../kb/docs/web/quickstart-webapps-spring.html">Introduction to Spring Web MVC</a> </p> | |
| </td> | |
| <td class="screenshots-col"> | |
| <p><img | |
| src="../../images_www/v6/features/spring-completion-thumb3.png" | |
| alt="Spring Code Completion" class="box" width="200" height="138"></p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| <h2>Struts Framework Support</h2> | |
| <p> Select the Struts 1.3.10 web framework to create flexible web | |
| applications based on standard technologies, such as JSP pages, | |
| JavaBeans, resource bundles, and XML. Benefit from code completion for | |
| Struts tags, and Struts Javadoc pop-ups in the editor. </p> | |
| <p> Create Struts ActionForm Bean and Action class files, and | |
| ctrl-click for hypertext navigation between the struts-config.xml file | |
| and the corresponding ActionForm bean class. Use the context menu to | |
| easily add Forward, Action, and Exclude entries.<br> | |
| <a class="notes" | |
| href="../../kb/docs/web/quickstart-webapps-struts.html">Introduction to the Struts Web Framework</a> | |
| </p> | |
| <p> </p> | |
| <p><img alt="-" src="../../images_www/v6/arrow-button.gif" | |
| width="15" height="12"> <a href="../../kb/trails/java-ee.html">Java | |
| EE and Web Application Learning Trail</a> </p> | |
| </td> | |
| <td class="screenshots-col"> | |
| <p><img src="../../images_www/v6/8/features/struts.png" | |
| alt="Spring Code Completion" class="box" width="200" height="187"></p> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </body> | |
| </html> |