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 :

Running Sample Applications

Sun has provided several sample applications that are simple to use and come with a lot of documentation. Going through the sample applications is an excellent way to get a feel of JSF and JSC. Java Studio Creator Early Access 2 comes loaded with three sample applications:
  • JAAS Authentication
  • Jump Start Cycles
  • Travel Center
To run one of these applications, select File—>New Project from the main menu, choose "Samples" as the category and the name of the sample app you want to test. The rest is similar to starting a new application. After the wizard closes, chose Run—>Run Main Application from the main menu to start the demo.

The User Interface

The user-interface is very intuitive and easy to use. Java newbies should be able to develop a production-ready application with little effort. The help and samples are very helpful for novices. Developers who have been working on Visual Basic and other Microsoft technologies will find themselves at ease with JSC.

Custom Development Architecture/Technology: The JSC is not very suited for migrating custom development. I tried to import an existing Web application that had a lot of style sheets and custom code that used a custom framework. JSC imported all the JSP pages and helped to integrate the style sheets with some effort. JavaScript code was smoothly integrated too, but when it came to integrating with the busniness classes, a lot of work had to be done in the JSP code and the helper classes. I felt it was better done on a regular Java IDE like Eclipse or JBuilder. The problem intensifies if the applications has interactions with disparate data sources like XML and flat files.

JSC is an excellent tool for small- and medium-sized applications that don't have to interact with complicated data structures. It may be helpful with big applications, but only if they are developed in JSC from scratch. In the case of bigger applications, maintainability could become a problem, as JSC generates a lot of code.

Performance

The RAM requirements for the Windows/Linux version are 512MB, while that for Unix/Solaris is 1GB. Just like any IDE, JSC consumes a good amount of RAM. Here are the results of two case studies that I ran on two machines:
  1. System One, P4 3GHz HT, 512MB RAM, Windows XP, 12GB HDD: Build and deploy time was on an average 41/2 minutes (using Sun's sample projects).
  2. System Two, P4 1.6GHz, 640MB RAM, Windows 2000, 80GB: Build and deploy time was on an average six-eight minutes (also using Sun's sample projects). Sometimes, it took more than fifteen minutes.
Compiling and packaging time on both machines was always less than ten seconds.

These tests show that the performance of the IDE needs to be improved. Though the numbers aren't bad compared to other IDEs, like Eclipse, they do lag behind. The performance degradation can, perhaps, be attributed to fact that JSC uses heavy components. Looks like low-performance is a price you will have to pay for an easy, drag-and-drop development environment.

Integration with Version Control

Any good IDE should be able to work with various version control systems and Java Studio Creator provides integration with VSS and CVS. To be able to use version control capabilities, you will first need to assign a repository and a working directory. You can do this using the Versioning Manager wizard, which is provided as part of JSC. JSC does not support other popular version control softwares like Subversion, ClearCase, StarTeam, TeamWare etc. However NetBeans, another Java IDE from Sun, supports all these version control systems through a generic VCS module. Since JSC is based on NetBeans, you can expect the same support for the version control systems mentioned above in the future.

Integration with Other Software

The JSC integrates with any Java-based, third-party API. Just include the API in the classpath and call the methods in the API as you would call any business class. JSC should display all the public classes and their public methods. You can access any of the classes and methods directly from the JSP page and the IDE would show the parameters required and the return type of the method. JSC will write the logic to access the method with the specified parameters.

Java Studio Creator's Strengths

  • Easy to use: The IDE was very intuitive and easy to use. Using the IDE requires a little experience with Java, JSP, and databases. Experience in JSF was not required to understand and use the IDE.
  • Built-in components: The IDE comes with a wide range of useful components you'd use in any Java application. Most Java developers spend a lot of time writing routine functions like Calendars, Paginators, and Rowsets. With JSC, you can just drag and drop the required components into the JSP page and JSC automatically generates its associated code.
  • Built-in Http Monitor: This is great tool—very helpful in debugging HTTP requests and in monitoring JSP page performance.
  • Support for Existing EJBs and Web Services: JSC provides a visual medium to integrate with Web services, EJBs, and business classes. This abstracts the UI developer from the complexity of the business layer.
  • Debugger: JSC's built-in JSP debugger is very helpful—especially when developers have to find.

Java Studio Creator's Weaknesses

  • No Profiling Support: Having a basic profiling tool embedded in the IDE would be helpful to find memory leaks and other potential problems during the development process. It would also allow users to gauge application performance during development.
  • Lack of Integration with Modeling Tools: Most IDEs have some integration with modeling tools like Rational Rose, TogetherJ, etc. At the very least, having a plug-in to interface with modeling tools would very helpful.
  • Deployment: JSC only has direct built-in deployment support to Sun One Application server. Most IDEs have, at least, plug-ins to deploy directly to popular application servers like Weblogic, WebShpere, and Tomcat.

The Pros and Cons

Choosing whether to use Java Studio Creator as your Java IDE is a matter of weighing the pros and cons. The interface is easy and you don't need to be a Java guru to get an application up and running. However, due to the difficulties JSC has interacting with complicated data structures, it's probably better to choose JSC only when you're developing simpler, smaller applications.

Related Resources

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%.

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'
Oracle Focuses on Grid, Developer Tools

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
Make Application Development Easy With Software Plus Services
SharePoint Applied: 10 Things You Wish They Had Told You?Part 2
Introducing Zend_Search_Lucene

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