Você está na página 1de 6

NetBeans™ IDE 4.

1
Enabling and Accelerating Development of Java™
software for Desktop, Web Tier, Web Services, J2EE™
and Mobile Application Development

< The full-featured NetBeans Integrated Development Environment (IDE) is an open


source, multiplatform, zero cost, 100% Pure Java™ IDE that now includes support for
Java™ 2 Platform, Enterprise Edition (J2EE™) 1.4 technology. This enables you to build rich
client, Web tier, Web service, mobile, and J2EE applications. With an Ant-based project manage-
ment system and a performance profiler, find out what more and more users already know —
NetBeans software is the one IDE you need to develop Java applications.

NetBeans IDE is available at www.netbeans.org Unlike other IDEs, NetBeans IDE does not
as a free download for the platforms develop- force you to use a build structure with project
ers need most — Microsoft Windows, Linux, metadata that must be reverse engineered if
the Solaris™ Operating System (OS), and Mac you want to build the project outside of the
OS X. Since the IDE itself is written in the Java IDE. Instead, NetBeans IDE builds on existing
language, you can run it on any operating open standards to help automate the develop-
Highlights system for which a Java 2 Platform, Standard ment process without locking you in. NetBeans
Edition (J2SE™) Java Developer Kit (JDK™) version IDE bases its project system on Apache Ant,
• Create mobile, desktop, Web, and 1.4.2, version 5.0, or later is available. the de facto standard build tool for Java appli-
enterprise applications with a cations. The project metadata produced by
single tool. NetBeans 4.1 is more than just a development the NetBeans IDE is in the form of XML and
• Superior out-of-box experience — platform. It delivers tightly integrated deploy- properties files that can be used by Ant out-
no hunting for plug-ins. ment and debugging of Web and enterprise side of the IDE. This means that developing a
• 100% Pure Java™, open source, applications on Apache Tomcat 5 and the Java project in NetBeans IDE does not lock you into
free, supports Java™ standards. System Application Server 8.1 (which is the NetBeans IDE.
• Simplifies support for J2EE™ 1.4 J2EE 1.4 Reference Implementation), improving
including Enterprise JavaBeans™ developer productivity through the optimiza- You can use NetBeans IDE to create large
and Web services. Developers can tion of the develop, test, and deploy cycle. projects with sophisticated build parameters.
target Tomcat, Sun Java System Additional support is included for JBoss, Where such projects are already in place, you
Application Server, JBoss, WebSphere, and WebLogic. NetBeans IDE also can adapt NetBeans IDE to work with them
WebSphere, and WebLogic. offers a powerful GUI builder that allows for without necessarily changing the project’s
• Best mobility support: Only IDE rapid creation of rich clients using the Java structure. If you are generally more comfort-
with an easy-to-use solution to the Foundation Classes (JFC/Swing). able with command line tools because of their
device fragmentation problem. transparency and the level of control they
• Project System: The first IDE to What makes NetBeans IDE special allow over your projects, NetBeans IDE could
base its project system entirely on When you use the NetBeans IDE, you enjoy become the first IDE that you love.
Apache Ant. the benefits of a top-shelf IDE, without the
negatives associated with moving develop- NetBeans IDE is also consistently ahead of the
ment to a single environment. curve in providing support for new and evolving
standards, such as the new language features
that were introduced in J2SE 5.0, and new
specifications in all areas of Java technology.
2 Data Sheet NetBeans™ IDE 4.1 netbeans.org

NetBeans IDE provides an astonishing array of • Can display documentation for a class as you
features right out of the box. A fully featured are typing in the Source Editor.
J2EE 1.4 development environment is built in. • Hot links compilation errors in the Output
All the editor, debugger, and project support window, so you can jump straight to the
that is available for Java application develop- source.
ment is also available for J2EE development. • Manages package names and references to
In addition, NetBeans IDE provides access to other classes. When classes are renamed or
the Java BluePrints Solutions Catalog and the moved around, the IDE identifies places in
ability to install them as NetBeans projects, so the code that are affected by these changes
the IDE becomes a learning tool. so you can have the IDE generate the appro-
priate changes to those files.
The Mobility Pack enables J2ME developers to • Offers many debugging features that provide
design, develop, and debug Java 2 Platform, a comprehensive view of the way your code
Micro Edition (J2ME™) MIDlets from within is working as it runs. Set breakpoints, which
NetBeans IDE. Providing one of the most pow- persist from session to session, and keep
erful sets of mobile development tools, the your code free of clutter.
Mobility Pack includes the J2ME Wireless Toolkit • Helps integrate other parts of your work-
(WTK), a flow designer to visually layout the flow, such as checking sources into and
application logic, a screen designer to create out of a version control system. NetBeans
the user interface, an integrated device frag- supports Concurrent Versions System (CVS),
mentation solution, and tools for building Project Version Control System (PVCS), and
client-server applications. Visual SourceSafe (VSS) standards, providing
advanced code management features.
NetBeans IDE features • NetBeans performance and memory profiler
While the NetBeans IDE modular architecture augment traditional edit-compile-debug
allows for plug-ins, the scope of features cycle with performance profiling.
included provides a full-featured development • Besides being an IDE, NetBeans is certified
environment for all types of Java applications. as a 100% Pure Java open source platform.
All the necessary modules are available and are Develop plug-in modules for NetBeans IDE,
tested together, so that NetBeans is ready to or create an entirely different application
go as soon as it is installed. built on top of the core modules that make
up the platform.
The IDE’s basic job is to make the edit-compile-
debug cycle much smoother. For example,
Support for Java 2 Platform
the IDE:
Enterprise Edition
• Identifies coding errors almost immediately
The J2EE technology defines the standard for
and marks them in the Source Editor.
developing multitier enterprise applications.
• Speeds coding with code completion, word
It simplifies enterprise applications by basing
matching, abbreviation expansion, and fix
them on standardized, modular components;
import features.
providing a complete set of services to those
• Provides visual navigation aids, such as the
components; and handling many details of
Navigator window and “code folding,” as
application behavior automatically, without
well as numerous keyboard navigation short-
complex programming. The J2EE platform is
cuts designed especially for Java programmers.
3 Data Sheet NetBeans™ IDE 4.1 netbeans.org

targeted to developers who want to write


distributed transactional applications for the
enterprise and leverage the speed, security,
and reliability of server-side technology.

NetBeans IDE 4.1 introduces comprehensive


support for the J2EE developer. Advanced
wizards create J2EE components such as Web
applications, servlets, JavaServer Pages™,
enterprise Java Modules, Enterprise JavaBeans
components, and Web services. Also, a complete
runtime environment based on the Java System
Application Server 8.1 is included. It is a J2EE
1.4 compliant application server that is free for
development, deployment, and redistribution,
and offers the ideal IDE companion for devel-
opers who need an integrated environment
where complete J2EE applications can be
developed, built, assembled, deployed,
and debugged.
Figure 1. The upper half of the window shows an example of the user-friendly, EJB deployment
The NetBeans IDE makes it simple to: descriptor editor. The lower half is an example of browsing the Java BluePrints Solutions Catalog.
• Create a J2EE application, automatically add
EJB and Web modules, and deploy the • Add multiple source folders to an EJB or Web It solves device fragmentation problems with
application. module, create unit tests as a part of the editable custom configurations for each device.
• Create an EJB module and deploy it as a project. You can easily integrate third-party emulators
stand-alone module or packaged in a J2EE for a robust testing environment.
application. Mobility
• Create Session Beans, Entity Beans and NetBeans Mobility Pack is a powerful tool for NetBeans Mobility Pack Features:
Message-Driven Beans. experienced mobile Java developers as well as • Visual Mobile Designer — Drag-and-drop
• Create Entity Beans using an existing data- those new to J2ME development, providing a objects into the Flow Designer, Screen
base schema. quick start to development even if you have Designer, and Action Editor to automatically
• Create a Web module, generate calls to EJB only J2SE programming experience. generate Java code for rapid development
components, and deploy the Web module and prototyping.
either as a stand-alone Web application or The NetBeans Mobility Pack may be used for • Wireless Connection Wizard — Easily access
packaged in a J2EE application. writing, testing, and debugging applications Web services and other server-side data from
• Create, register, and test Web services. for Java technology-enabled mobile devices. MIDlets via servlets.
• Create, browse, and edit database structures This release introduces drag-and-drop visual • New Deployment Options — Upload MIDlets
using the Database Explorer. authoring for managing application flow and via WebDAV, File Transfer Protocol (FTP), and
• Try out the sample applications to learn and screen content, end-to-end mobile application Security Control Protocol (SCP) from within
understand J2EE technology. wizards, and new remote server deployment the IDE.
• Import existing J2EE projects. options. • Project support built on Apache Ant organizes
• Validate applications using the J2EE Verifier. MIDP source code and project metadata for
• Visually configure EJB components, Web NetBeans Mobility Pack also simplifies coding easier coding and management.
Services, and Web Components. with templates for MIDlet and MIDlet suites, • Integration with the J2ME Wireless Toolkit 2.2,
plus code completion against J2ME packages. providing support for advanced development
4 Data Sheet NetBeans™ IDE 4.1 netbeans.org

features such as MIDlet signing, certificate • Integrated obfuscation and optimization


management, integrated over-the-air (OTA) support — Adds security, improves per-
emulation, push registry emulation, Wireless formance, and optimizes the size of your
Messaging and Multimedia APIs, and application.
Wireless Messaging API (WMA) emulation • OTA download testing — Emulator simulates
features for Short Message Service (SMS) behavior of real mobile devices.
and Cell Broadcast Service (CBS) messages.
• Device fragmentation solution — Develop Profiler
applications for multiple devices by adding The NetBeans Profiler is a full-featured profiling
and executing device-specific code as config- tool, providing CPU, memory, and thread
urations within a single application. profiling functionality for the NetBeans IDE.
• Support for Mobile Information Device
Profile (MIDP) localization — Add locale- Highlights
specific components to your application. Innovative approach to profiling:
• Support for J2ME MIDP 2.0 and Connected As the size and complexity of Java applications
Limited Device Configuration (CLDC) 1.1 grow, keeping their performance at the required
standards. level becomes progressively difficult. The
• Supports adding third-party emulator Profiler uses a unique approach to minimize
platforms — Test your application on a profiling overhead, which allows it to provide
variety of target device emulators by accurate results in situations where other
leading manufacturers. profilers fail.

Tight IDE integration:


We believe that profiling should become a
natural part of the development work cycle,
and many more developers should invest time
in understanding the memory and performance
aspects of their Java applications. Other profil-
ing tools, which are often expensive as well as
difficult to set up and use, fail to address the
needs of the broad developer community. To
address that need, we aim to make profiling an
integrated part of the development workflow,
as easy to use and unobtrusive as possible.

Features
• Low overhead profiling: With NetBeans
Profiler, you can profile just a subset of the
application code — the rest of the code is

Figure 2. The top window shows one of the emulators running a J2ME application. In the not instrumented, so it runs at full speed.

background, the Visual Mobile Designer is partially visible. The profiled subset and the type of profiling
(CPU, memory, and so on) can be changed
at any moment during run time.
5 Data Sheet NetBeans™ IDE 4.1 netbeans.org

• Memory leak debugging: Memory leaks are


not uncommon with large Java applications.
With most existing tools, it can take hours to
make sure there is really a memory leak, and
identify leaking objects. Our technology can
pinpoint leaking objects immediately, based
on a special pattern of allocations and
reclamations (or lack thereof) that such
objects typically demonstrate.
• Task-based profiling: By definition, profiling
is a complex activity. Our task-based approach
makes it easy by offering several of the most
common tasks, such as standard CPU or
memory profiling, or simple monitoring.
• Threads profiling: Threads and their activity
Figure 3. On the left, the Profiling Console provides shortcuts for the most common operations. On during application execution can be observed.
the right, two views of CPU usage are shown — the top starts from the method selected for Threads profiling offers two views of the
profiling, and the bottom is a list of all methods. threads: “Threads timeline” which shows
• Attaching to running applications: The threads activity side-by-side, and “Thread
profiled application can be started as usual, details” which shows detailed information
without special command line options. You about one or more selected threads, including
can still attach and detach the profiler a list of all state changes in the thread life.
to/from it at any time. When the profiler is
detached, there is no instrumentation in the Eclipse Import
application, and thus no overhead. To address developer needs in migrating to
• CPU Performance profiling: Profile the entire NetBeans, an optional module called the Eclipse
application, or select a subset of code based Project Importer automatically imports Eclipse
on one or more root methods. Selective projects into NetBeans as NetBeans projects,
profiling, based on chosen roots, reduces processing Eclipse project metadata and
performance overhead and helps obtain mapping it directly to a new NetBeans project.
accurate results for heavily multithreaded
applications under realistic workloads. The When pointed to an Eclipse workspace, the
results, which contain details about only the NetBeans Eclipse Project Importer automati-
selected code, are much easier to analyze cally detects project dependencies and suggests
and understand. migrating of all dependent projects.
• Memory profiling: Only object creation
events can be profiled, which imposes
smaller overhead and allows you to detect
problems with excessive object allocations.
Additionally, liveness profiling registers both
object creation and garbage collection events,
allowing you to see the number, age, alloca-
tion paths, and other characteristics of
objects currently in memory.
6 Data Sheet NetBeans™ IDE 4.1 netbeans.org

NetBeans™ IDE 4.1


System requirements Recommended hardware configuration Learn More
Get the inside story on the trends
Operating system • Solaris™ operating system:
and technologies shaping the future of
NetBeans IDE runs on operating systems that • Processor: 500 MHz Ultra™ 60 work
computing by signing up for the Sun
support the Java Virtual Machine. The NetBeans station or equivalent
Inner Circle program. You’ll receive a
IDE has been tested on these platforms: • Memory: 512 megabytes
monthly newsletter packed with informa-
• Microsoft Windows XP Professional SP2 • Disk space: 125 megabytes of free disk tion, plus access to a wealth of resources.
• Microsoft Windows 2000 Professional SP3 space
Register today at sun.com/joinic.
• Solaris OS 9, 10 (SPARC® and x86 Platform • Microsoft Windows operating systems:
Editions) • Processor: 780 MHz Intel Pentium III
• Red Hat Enterprise Linux 3 workstation or equivalent

• Java Desktop System 2 • Memory: 512 megabytes

• Mac OS X 10.3 • Disk space: 125 megabytes of free disk


space
Version control systems
• Linux operating system:
• CVS 1.11 • Processor: 800 MHz Intel Pentium III
• PVCS 7.5 workstation or equivalent

• Microsoft VSS 6.0 • Memory: 512 megabytes


• Disk space: 125 megabytes of free disk
Database servers
space
• IBM DB2 8.1
• Oracle 9i
• PointBase 4.2
• Microsoft SQL 2000 SP3
• MySQL 4.x

Application servers

• Sun Java Application Server Platform


Edition, 8.1
• Apache Tomcat 5.5.xx
• JBoss 4.0
• WebSphere 6.0
• WebLogic 9.0

Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 USA Phone 1-650-960-1300 or 1-800-555-9SUN Web sun.com
©2005 Sun Microsystems, Inc. Sun, Sun Microsystems, the Sun logo, Solaris, Java, NetBeans, JavaBeans, J2SE, J2ME, J2EE, Ultra, 100% Pure Java, JavaServer Pages, Enterprise JavaBeans, EJB, and JDK are trademarks, registered
trademarks, or service marks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and
other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
Company, Ltd. Information subject to change without notice. 06/05

Você também pode gostar