advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement

Reviews : Review: Sun Java Studio Creator Early Access Release :

IDE Overview

The IDE is made up of a few primary elements (Figure 1 shows the IDE interface):

  • The Editing Area is the central page editor that makes up most of the IDE interface.
  • The Server Navigator shows the datasources, Web Services and other elements available within the application.
  • The Palette contains the interface components that can be dragged onto your page.
  • Code Clips contains snippets that can be used in beans.
  • Property Sheet allows the developer to edit the properties that can be edited for the different visual components and other application elements.
  • Dynamic Help contains online IDE help.
  • Project Navigator shows the pages and beans and other files in the current project.
  • Document Outline shows all the components within the current page.
  • The Debugger and Build Output will display debugging/build information when a developer builds or tests a page.

As with most other IDEs, every application starts with the creation of a project. A project will contain everything in your application and can be deployed all at once at the click of a button. By default, a new JSP template will be created called Page1.jsp (you can rename it, if you like). From here, development can begin.

Developing Forms

While you can create your own JSF components, many of the components you will need for applications are already included in JSC. These components include form elements such as drop-down lists, text fields and text areas; and other handy components such as data grids, text outputs and group panels. To use these elements in your pages, you simple click on the component you wish to add to your interface and drag it from the palette window to the editing area. The editing area is broken down into grids. You can use these grids to help your layout, as items will snap to the grids when you expand their size.

Once you have placed your component(s) into your page, selecting any component will show you editable properties in the property sheet. You can edit these properties to further customize your page. For example, entering a value into the "value" property will then store a default value for that component.

Of course, there are times when it is just easier to get in there and edit the code yourself. This can be done by clicking the "Source" tab at the bottom left of the editing area. The color-coded JSP/JSF source is fully editable, and clicking on the Design tab will toggle back to the visual layout of your page, reflecting any changes you made to the code. Figure 2 shows the code edit view.

Figure 2

In addition to editing the visual components, developers can also use validation components to apply rules to components, forcing users to enter the correct data type or requiring fields. Additionally, data elements can be converted using conversion components In short, this visual interface goes beyond just creating the visual elements, but also allows for the creation of logic and data model workings and validation.

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.

 Microsoft Visual Studio 2010 Showcase
 Avaya Developer Showcase
 MSDN Spotlight
 PHP for Windows Showcase
XML error: undefined entity at line 39
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

Windows 7: From Beta to Final Code in One Year
Google Shows Off Chrome OS, Releases Source
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?
Fedora 12 Takes Aim at Linux Networking
Top Supercomputer Nearly Doubles in Speed
Fedora 12 Linux Tackles Virtualization
Apple Gives iPhone Developers App Status Tracker
Novell Sets OpenSUSE 11.2 Free

Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Exploring HTML 5's Audio/Video Multimedia Support
Overriding Virtual Functions? Use C++0x Attributes to Avoid Bugs.
Understanding the Cloud Computing Security Vulnerabilities
Cisco and IBM Target a Greener World
Upgrade to Visual Studio 2010 with the Ultimate Offer

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs