Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf ·...

30
Introduction To NetBeans 5.5 Gregg Sporar NetBeans Technology Evangelist [email protected] Sun Microsystems, Inc.

Transcript of Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf ·...

Page 1: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Introduction ToNetBeans 5.5

Gregg SporarNetBeans Technology [email protected]

Sun Microsystems, Inc.

Page 2: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Agenda• What Is NetBeans?• What Is GlassFish/Sun Java System Application Server?• NetBeans Tour• Configuration/Troubleshooting• Other Features and Road Map• Resources

Page 3: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

What Is NetBeans?• All Free, All Open Source• 100% Java, runs anywhere that JDK 5 is available• Three Things:> A Platform> An Integrated Development Environment> A Community

Page 4: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

NetBeansTM Software Day at 2005 JavaOne Tokyo Conference

Page 5: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

NetBeansTM Software Day at 2005 JavaOne Tokyo Conference

Page 6: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

NetBeansTM Software Day at 2005 JavaOne Tokyo Conference

Page 7: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

What Is GlassFish/Sun Java System Application Server?• GlassFish: An Open Source Project For Developing the

Java EE 5 Reference Implementation> https://glassfish.dev.java.net

• Sun Java System Application Server v9.x: Sun's Branded Version of the GlassFish Binaries.> Three Things Change:

– The Name– The License– The Install Program

> Service/Support are Available

Page 8: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

NetBeans Tour• Screen Layout• Top Level Menus• The Big Four:> Projects> Files> Runtime> Favorites

• Project System Based on Ant

Demo

Page 9: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting• The user directory is where all configuration information is

stored:> Preferences> Settings> Optional modules (plug-ins)

• On *ix, look at the .netbeans directory that is under the user's home directory• On Windows, look at the .netbeans directory that is under

Documents and Settings\<userid>

Page 10: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)

Page 11: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)• User directory can be given any name/location that you

want – just change the setting in etc/netbeans.conf.• You can have multiple user directories.> Only one in use per running NetBeans IDE ...> ... but you can run multiple instances of the NetBeans IDE.

Page 12: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)Tools > Options

Demo

Page 13: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)Tools > Java Platform Manager

Demo

Page 14: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)Tools > Template Manager

Demo

Page 15: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)Tools > Module Manager

Demo

Page 16: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)Tools > Update Center

Demo

Page 17: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)And if you really want to customize things....• The IDE can be extended via plug-in modules.• There are tutorials:

http://platform.netbeans.org/tutorials/index.html

Page 18: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)• If code completion doesn't display JDK Javadocs > Check Tools > Java Platform (Source tab)

• If you cannot get a connection to Java DB> Make sure Derby has been started Tools > Java DB Database >

Start Java DB Server• If code completion stops working or causes problems> Close all open projects> Close the IDE> Delete this subdirectory and all its contents from the user

directory: var/cache/mdrstorage

Page 19: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Configuration/Troubleshooting (cont'd)• Tips for resolving various issues available in the NetBeans

FAQ: http://wiki.netbeans.org/wiki/view/NetBeansUserFAQ• Remember: whatever problem you encounter, uninstalling

and then reinstalling the NetBeans IDE is usually not the best solution.> Instead, shutdown the IDE > Save any templates that you modified> Remove or rename the user directory> Restart the IDE. Preferences will have to be set again and you

will have to copy in any templates that you saved

Page 20: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map

Visual Web

• Open Source and Free• Out of Box Full

Support for: > Java SE 6> Java EE 5> ... and more

All the tools needed to create professional cross-platform desktop, enterprise, web, and mobile applications.

NetBeans IDE 5.5

Profiler Mobility C/C++Enterprise

• Extended Features via Packs

Demo

Page 21: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

• NetBeans “packs” are an evolution toward running all Sun tools on a common NetBeans binary> In the past, they have used different versions of NetBeans as

their underlying IDE.

• JFluid• Sun Java Studio Mobililty• Sun Java Studio Enterprise • Sun Studio• Sun Java Studio Creator

• Profiler• Mobility Pack• Enterprise Pack• C/C++ Pack• Visual Web Pack

Page 22: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

ProfilerIntegrated

Performance Profiling Tools:> CPU Time> Thread State> Memory

Usage/Memory Leak Detection

Page 23: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

Mobility Pack• Award winning support for Java ME

development> Connected Limited Device Configuration/Mobile Information Device Profile

> And now, support for Connected Device Configuration too! (RC1)

• Visual Development Tools• Emulator Support• Device Fragmentation Solutions

Page 24: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

Enterprise Pack● Visualize, analyze,

and edit real-world XML Schema, WSDL, and XML instance documents

● Develop secure, identity-enabled Java EE Web services

● Design BPEL business processes

Page 25: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

C/C++ Pack• NetBeans is more than

a Java IDE• Supports features you

know from the Java IDE:> Navigation, code folding> Code completion,

templates> Make file mgm't

Page 26: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)Visual Web Pack

• Everything you can do in Java Studio Creator 2, except:> Visual binding to EJBs and

web services> The portlet development

support• Advantages over Java

Studio Creator:> Now you only need one

IDE :-)> Access to Java EE 5

features (EJB3, etc.)

Page 27: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)

NetBeans IDE 5.5.1• Scheduled for May, 2007• Two Things:> Alignment with Sun Java System Application Server 9.1> P1 bug fixes

Page 28: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Other Features/Road Map (cont'd)NetBeans IDE 6.0• Improved Editor!• Improved Support for Scripting Languages• New Installer• Continue Enhancements to:> Visual Web Pack (achieve parity with Java Studio Creator 2)> SOA Tools (SeeBeyond integration)> C/C++ support> Profiler (heap walker, etc.)> Mobility Pack (just one, with both CLDC and CDC support)

• And More...

Page 29: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Resources• Project Home Page: http://www.netbeans.org• Have a Question About/Problem With The IDE?> [email protected]> Or via Nabble: http://www.nabble.com/Netbeans---Users-

f2605.html• Quick Start Tutorials:

http://www.netbeans.org/kb/55/quickstart.html• Using NetBeans Guide:

http://www.netbeans.org/kb/55/using-netbeans/index.html• Learning Trails, Flash Demos, and more:

http://www.netbeans.org/kb/• Blogs: http://planetnetbeans.org/

Page 30: Introduction To NetBeans 5wiki.netbeans.org/wiki/images/5/53/NetBeansTOI_GreggSporar.pdf · Introduction To NetBeans 5.5 ... > Make sure Derby has been started Tools > Java DB Database

Thank You!