Académique Documents
Professionnel Documents
Culture Documents
3
Demo: Enhanced Editor Features
• HTML pallete*
• JSP, Java code error checking
• JSP, Java code completion
• More refactoring (13 of them now)*
• Error stripe*
• Code template*
• CamalHump completion*
• Context sensitive JavaDoc
4
Demo: Code Navigation
• Go to class (Alt+Shift+O)
• Select document in
• Hyperlinking
• Jump list (Alt+K, Alt+L)
• Bookmarking
• Select a tab
5
Demo: Debugging, Testing, Profiling
• JSP page debugging
> You don't have to debug the generated servlet code
• Junit support
• HTTP monitoring
> Edit and replay
• Profile the application
6
Demo: Enhanced Project Management
7
Demo: Struts or JSF Support
10
Demo: Deployment Over JBoss &
WebLogic App Server
• Deploy the same application over multiple
deployment platforms
> Sun Java System App server
> Tomcat
> JBoss 4 App server*
> WebLogic 9 App server*
> WebSphere support is being worked on
• Check if the application is deployed correctly
through JBoss admin console
11
Enhanced CVS Support
• IDE integration at project level
• More intuitive user interface
• Built-in SSH support
12
Demo: New CVS Support
• Check out files
• Make modification to a file
• Show annotations
• Perform “Diff”'ing modified file against the previous
version
• Check the modification history
• Commit modified files
• Branching
13
Demo: Building EJB Application
• Generate the CMP entity beans from an existing
PointBase database
• Create a simple session bean to access the
database information and a Web module client
> NetBeans handles JNDI chore
• You can try this yourself
> http://www.netbeans.org/kb/50/quickstart-j2ee.html
14
Demo: Building Java EE 5 Application
• Use GlassFish as Java EE 5 app server
• Use NetBeans Java EE 5 build
• Create and test a simple "Hello world" Java EE 5
application with EJB 3.0 and dependency injection
in JSF
• Exercise Java EE Persistence
• You can try this yourself
> http://www.netbeans.org/kb/articles/javaee5-hello-world.html
> http://blogs.sun.com/roller/page/pavel?entry=java_ee_5_pers
istence_crud
15
Questions?
What Makes
NetBeans the Best
IDE for J2EE App
Development?
Sang Shin
sang.shin@sun.com
Technology Evangelist
Sun Microsystems, Inc.
Sun Confidential & Proprietary– Internal Use Only 17