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


Partners & Affiliates











advertisement

Tutorials : Java Studio Creator 2: Trading Ease-of-use for Performance :

Java Studio Creator 2: Trading Ease-of-use for Performance

by Benoy Jose

Most IDE's in the market today (Eclipse, JDeveloper, JBuilder, IntelliJ IDEA, NetBeans, etc) are designed for experienced Java developers, requiring a thorough knowledge of Java and JSP. Moreover, most of these IDEs are expensive and have limited support for JSP development—not ideal for small- to medium-sized companies with limited staffs and low budgets who need to get small applications done quickly. Such companies are forced to look for simpler alternatives, like using Visual Basic on Visual Studio. Visual Studio provides a one-stop development environment where developers with little experience can build small- to medium-sized applications in a short time.

Java Studio Creator (JSC) is the beginning-level IDE these small-scale application developers are looking for. JSC provides a comprehensive development environment that allows developers to build small- to mid-sized applications from scratch—without needing a lot of Java expertise. Even novice programmers can build and upload a small- to medium-sized Web site with database connectivity, style sheets, and JavaScript in a matter of days. JSC gives you everything you need in a development environment: a visual development environment (using a drag-and-drop UI), database connectivity, code templates, syntax coloring and checking, easily accessible component palettes, customizable palettes, a visual navigation tool, Http Monitor, etc. JSC is also very inexpensive—it costs under $100.00 a year.

Notable Features

JSC has some features that are not found in most of the regular Java IDEs:

Rapid Development Tool: JSC is a rapid development tool that quickly creates Web applications and deploys them to production. It provides built-in support for creating the JSP pages, connecting to databases, and deploying to most applications servers.

Drag-and-drop Components: Like most popular visual development environments, JSC provides a drag-and-drop development environment. To develop a page, drag a component from the palette onto the form, then select the component and use the properties editor/palette to set the components' default properties. JSC provides a variety commonly used features like calendars and paginators and allows you to directly drag and drop them on to a JSP page.

Page Navigation: JSC makes it simple to link different pages in an application. The editor provides a navigation view that displays icons for each JSP page in your application. Selecting a page and dragging it to the destination page makes a link to the destination page. JSC creates an automatic link between these pages and generates all the associated java code for them. The navigation view also shows the current relations between pages and allows the user to change them if required.

Code Clips: Code Clips is a collection of often-used code snippets. Double click on a clip and the code is available for use in the Java editor. This feature is especially useful for new Java programmers or programmers migrating from VB who are just getting familiar with the Java syntax. Apart from the code clips embedded in the product, JSC allows you to import code clips from external sources and use them in your application.

Debugging: Most Java IDEs do not have good debugging support for the presentation layer (JSP pages), but JSC provides a good debugging interface you can use for stepping through the application code, setting breakpoints, and watching variables.

HTTP Monitor: An HTTP monitor tracks the flow of HTTP requests to and from the application server. This feature is useful when the you need to find errors based on wrong input parameters. It consists of two components: a client-side component and a server-side component. The client-side component allows you to view the requests made to the application server and track the responses received. The server-side counterpart records the calls made to different components within the server. The HTTP monitor requires the server-side component to be installed before it can be used. Remember, though, that support for the server-side HTTP monitoring is only provided by the Sun Application Server, so it won't work on other application servers.

Virtual Forms: Virtual forms allow you to group HTML elements in a Web page into a logical group. When the form is submitted only the elements in the virtual form are submitted. This allows you to create different virtual forms for different actions on a page.

Installation

Java Studio Creator comes packaged as a standard setup program. Execute the setup program, choose a location for installation, and then leave the rest to the installer. Among the applications being installed are: an IDE, the PointBase Database Server (Restricted Edition), and the Sun Java Application Server. The installation may take some time owing to the installation and configuration of the three products and depending on your system configuration. Make sure you have sufficient RAM on your system before installing.

Here are the system requirements:

  • Intel Pentium 4 (or equivalent) at 1GHz processing speed
  • RAM 512 MB
  • Disk Space 325 MB (an additional 250 MB required for installation)

Verifying the Installation

  • Start a new JSF Web application project (File Menu—>New Project—≫Web—>JSF Application)
  • Click next and enter a name for the project (HelloWorld)
  • Next enter a location for the Project or accept the default value.
  • Click Finish
  • JSC creates a new JSP page for you (Page1.jsp)
You can view the page in any of three views: Design, JSP, or Java. In design view, drag a 'Static Text' component from the Components Palette onto Page1.jsp. Type "Hello World!". Keeping the component selected, go to the Properties palette and click the 'Ellipsis' button to change the style of the text. Set the text to the desired font size. Save the page.

From the main menu, select Build—>Build Main Project to compile the application. Next select Run—≫Run Main Project. This starts the Sun Java Application Server, included with the software, if it is not already running. The HelloWorld application is then packaged and deployed on the server. JSC also fires the default browser and navigates to the application. If the page is displayed with "Hello World" on it, your installation has been successful.

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.

 DevX Skillbuilding from IBM developerWorks
 RIA Run Contest: Build Next-Gen Apps in Microsoft Silverlight 2
 Avaya DevConnect Center
 Intel Go Parallel Portal
 Internet.com eBook Library
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 53
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%.

SaaS Tool Offers Custom Database Development
Microsoft’s Automated Agent: Can We Talk?
Borland Finally Sells CodeGear
Red Hat Heads For The JON 2.0
Out with the Old, in with the New at JavaOne
Trolltech Expands WebKit Footprint
Oracle: Eating its Own Open Source Food
Big Money and Open Source May Not Compute
Open Source Embrace Gives Sun New Fans
NetBeans, OpenSolaris Also in Spotlight at JavaOne

Taming Trees: Building Branching Structures
Clean Up Function Syntax Mess with decltype
Sutter Speaks: The Future of Concurrency
INTEL SCAVENGER HUNT, LENOVO X300 AND APPLE IPOD TOUCH GIVEAWAY (the "Giveaway")
Comparing Multi-Core Processors for Server Virtualization
Intel® Desktop Business Computing Solutions
Intel: What Downturn?
Managing the Evolving Data Center
Implement Drag and Drop in Your Windows Forms Applications
Processing Linked Web Data with XSLT

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES