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.

 Avaya DevConnect Center
 Service Component Architecture/Service Data Objects Solution Center
 Intel Go Parallel Portal
 Internet.com eBook Library
 IBM Software Construction Toolbox
 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%.

Is .NET on Linux Finally Ready?
Red Hat Takes on HPC Market, Microsoft
Python's New Release Bridges the Gap
No Flash Seen on iPhone Horizon
Apple Yields to Complaints Over iPhone NDA
Microsoft Shows Some Ankle With Visual Studio
Gentoo Linux Cancels Distribution
It's Official: Windows 7 at PDC, WinHEC
Oracle Keeps Building on Spoils From BEA
Intel, Oracle Head For 'The Cloud'

C++Ox: The Dawning of a New Standard
Getting Started with Virtualization
Master Complex Builds with MSBuild
eCryptfs: Single-File Encryption in Linux
CCXML in Action: A CCXML Auto Attendant
Ballmer: Current Woes Won't Halt Tech, Microsoft
Microsoft Uses VMworld to Hype Its Hypervisor
Microsoft Charges Ahead in Virtualization
Microsoft Shows Some Ankle With Visual Studio
Top 5 Reasons to Adopt SQL Server 2008

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
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES