150 likes | 302 Views
A New Approach to Java Clients. Robert Buffone Chief Architect Nexaweb Technologies. By www.PPTSWorld.com. Agenda. Where are we at? What are the issues with Java? How can the issues be resolved? Top five reasons why Java is superior as a client environment. Where are we at?.
E N D
A New Approach to Java Clients Robert Buffone Chief Architect Nexaweb Technologies By www.PPTSWorld.com
Agenda • Where are we at? • What are the issues with Java? • How can the issues be resolved? • Top five reasons why Java is superior as a client environment.
Where are we at? • Client-side Java Not Popular • Used primarily as a desktop environment • It’s been kicked off the Web by Flash and now Ajax • Small stirring about Consumer JVM
To sum up Client-side Java Stick a fork in it, it’s done!
What are the issues with Java? • Development Methodology • Tooling • Deployment • Styling • Server-side integration • Size and versioning of JVM • JVM Installation • Start up time
Fixing the Problems • The problems can be solved • Need to define issues • Need a desire to fix them • Get it done!
Development Methodology / Tooling Problem • UI development was painful • Lots of coding with no help. • Long before Netbeans and Eclipse • Forte, Borland • Batch files, Notepad, and javac Solution • Markup + POJO • Created a markup language to define the user interface and connect components to event handlers and data • DOM Model + xPath Support • Integration with Eclipse IDE • Visual Editor for Screens • Drag and Drop data binding
Deployment Problem • <applet>, <object> tags • Parameters • Class & resources loading • Start pages • Configuration detection Solution • Handled automatically • Server-side configuration of all startup parameters • Nexaweb handles all class and resource loading • Custom Class loader the is integrated with the server • Default start page
Styling Problem • Graphic API limited • Fonts problematic • Limited AWT Widgets • Switching to Swing make development harder Solution • Wrote from the ground up our own widget library • Built on lightweight AWT component, JDK 1.1 Complaint • External styling using CSS like configuration • State based styling • Extensible • Pixel level controls
Server Integration Problem • How to deploy the application easily in a J2EE • RMI, JMS, HTTP • Data Integration • Leverage Web Server Frameworks • Struts, JSP/Servers Solution • Markup + POJO • XML is rendered on the client side • Internet Messaging Bus • Data Binding (XML, POJO) • Server-side Control of the Application • Java APIs, xModify
Consumer JVM • Improve Download Size • Improve Startup Time • No more spinning coffee cup • Motivated by JavaFX • Release this Year
Top Five Reasons to use Java on the Client • Performance • Tooling • Maturity • Adoption • Capabilities • Standards • Openness • Vendors • Java Through and Through
Questions • Type Questions into either the Chat or Q&A windows and I will answer them.
Getting Started • Attendees are eligible for: • Extended Nexaweb Evaluation License • 6-months plus 10 hours of Free Email Support • Download Now: www.nexaweb.com/go/try • FREE On-site Ajax Performance Consultation 1 day, on-site consultation by Nexaweb Tech Services. • Limited to first 5 respondents (US only). Customer is responsible for consultant travel expenses (maximum of $1,000 US). • Contact: • Doug Moniz • Nexaweb Business Development • 781.345.5448 • dmoniz@nexaweb.com 15