Introduction To NetBeans 5.5

kaputmaltwormSoftware and s/w Development

Aug 15, 2012 (5 years and 6 days ago)

530 views

Introduction To
NetBeans 5.5
Gregg Sporar
NetBeans Technology Evangelist
gregg.sporar@sun.com
Sun Microsystems, Inc.
Agenda

What Is NetBeans?

What Is GlassFish/Sun Java System Application Server?

NetBeans Tour

Configuration/Troubleshooting

Other Features and Road Map

Resources
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
NetBeans
TM
Software Day at 2005 JavaOne Tokyo
Conference
NetBeans
TM
Software Day at 2005 JavaOne Tokyo
Conference
NetBeans
TM
Software Day at 2005 JavaOne Tokyo
Conference
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
NetBeans Tour

Screen Layout

Top Level Menus

The Big Four:
>
Projects
>
Files
>
Runtime
>
Favorites

Project System Based on Ant
Demo
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>
Configuration/Troubleshooting (cont'd)
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.
Configuration/Troubleshooting (cont'd)
Tools > Options
Dem
o
Configuration/Troubleshooting (cont'd)
Tools > Java Platform Manager
Demo
Configuration/Troubleshooting (cont'd)
Tools > Template Manager
Demo
Configuration/Troubleshooting (cont'd)
Tools > Module Manager
Demo
Configuration/Troubleshooting (cont'd)
Tools > Update Center
Demo
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
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
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
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
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
Other Features/Road Map (cont'd)
Profiler
Integrated
Performance
Profiling Tools:
>
CPU Time
>
Thread State
>
Memory
Usage/Memory
Leak Detection
Other Features/Road Map (cont'd)
Mobility Pack

Award winning support for Java ME
development
>
C
onnected
L
imited
D
evice
C
onfiguration/
M
obile
I
nformation
D
evice
P
rofile
>
And now, support for
C
onnected
D
evice
C
onfiguration too! (RC1)

Visual Development Tools

Emulator Support

Device Fragmentation Solutions
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
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
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.)
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
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...
Resources

Project Home Page:
http://www.netbeans.org

Have a Question About/Problem With The IDE?
>
nbusers@netbeans.org
>
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/
Thank You!