Wednesday, July 9, 2008

Next-Generation Web Development: Bye Bye MVC, Hello RIA + SOA

Rich Web 2.0 applications will not become mainstream until the next generation of web platforms-By: Nolan Wright
The world of web development is moving away from MVC-based web architectures and towards a client/server model that is probably best described as RIA + SOA, where RIA represents the rich user interface and SOA represents the services that it consumes. There has been a lot of buzz around rich Web 2.0 applications, but they will not become mainstream until the next generation of web platforms emerge - fully integrated platforms that enable RIA + SOA.
State of the Union
Currently, in the standards-based world of HTML, CSS and Javascript, RIA developers have to assemble multiple third-party libraries and frameworks in order to build a rich user interface. This “a la carte” approach to building RIAs places an unnecessary burden on the developer. Instead of focusing on building applications, the developer must spend time finding, integrating, and versioning the various pieces of their RIA development platform. The same holds true on the SOA side; developers are left to figure out how to create services and how to integrate them with their RIA front-ends. Developers need a platform that addresses every aspect of building an application, so that they can focus on doing what they do best – build applications. The question is: what should a next-generation RIA + SOA platform look like? The best place to start is with the activities that are required to build an RIA + SOA-based application. At a high-level these activities include:
1. Design the "look" of the applicationThis is the general appearance of an application. It includes things like: color, fonts, graphics, and a general page layout. Common toolsets: HTML, CSS and images
2. Integrate WidgetsWidgets encapsulate a set of common capabilities within a single component. They typically contain both “look and feel” as well as a set of pre-defined dynamic behaviors. They are a fundamental building block of an RIA.Common toolsets: ExtJS, Dojo, Yahoo YUI and several other small widget projects
3. Add dynamic behavior to the user interfaceCreating dynamic behavior in the user interface involves two things:
Event handling
Document Object Model (DOM) Manipulation
Event handling is the ability to know when a particular event occurs (e.g., a user clicks a button or a service response is received). DOM Manipulation allows you to dynamically change the user interface based on the receipt of an event.Common toolsets: Javascript libraries like JQuery, Prototype, and Scriptaculous
4. Consume servicesConsuming backend services is a key capability of an RIA. It enables the creation of single page user interfaces that exchange application data with services. It also enables a clean separation between the user interface and the service tier. The most common method for interacting with services is Ajax.Common toolsets: Javascript libraries like JQuery and Prototype
5. Create servicesServices provide an interface to data and application business logic. Common toolsets: There are several frameworks available for creating services in your programming language of choice
Now that we have a sense of what is required to build RIA + SOA-based applications, we can take a look at how these activities should be integrated in order to provide the most value to developers. The following sections outline the defining characteristics of a next-generation RIA + SOA platform.

AJAX and RIA Technology Will Be Free for All: Sun CEO Jonathan Schwartz adds "Java's Always Been a RIA Platform"

'Java's always been a RIA platform - before the world really wanted one,' claimed Sun's CEO Jonathan Schwartz recently, as he reflected on the reinvention of the Java platform as represented by JavaFX. 'What's a rich internet application?' Schwartz wrote. 'It depends on your perspective,' he continued, adding 'From mine, it's any network connected application that persists in front of a user, typically outside a browser, that can operate when disconnected from the network.'Writing in his popular industry blog, Schwartz gave a little of the background to Java's origins:
"Early Java applets delivered interactivity, but at the expense of development complexity and, in the early days, performance - when a browser, and more recently JavaScript, would suffice.But browser based applications are hitting complexity and performance limits, and content owners are striving for higher levels of engagement (via high definition video, or advanced interactivity). Developers are demanding something new - the browser's a wonderfully accessible programming model, but it's a weak deployment model for rich/disconnected applications." Schwartz also noted how, in his view, an unspoken driver of RIA is also business model evolution - "many companies behind rich applications are seeking independence from browsers and search engines, whose default settings and corporate parents present a competitive threat."
"There's a growing appetite for locally installed applications that build rich, direct and permanent engagement with consumers. No one wants to pay a toll to meet their own customers," he added.
In Sun's view RIA developers want to reach every consumer on earth, and on every device, because the market is in front of consumers - no matter what screen they may be using.
Second, according to Schwartz, "RIA developers want performance, functionality AND simplicity."
And third, enterprises want to reuse their existing Java skills and assets in moving to RIA, he added. Fourth, they want free and open platforms, and lastly, "the real value in Web 2.0 is the data - not the app. And that data is YOURS."
Schwartz ended by discussing what the success of JavaFX is worth to Sun:
"By definition, it's worth more to Sun than the adoption of someone else's platform (known as "positive option value") - and the proprietary infrastructure used to serve it (don't forget, RIAs have rich internet back-ends (RIBs?). And in the RIA world, all the options are going to be priced at free, anyways - this isn't a contest to be won on price.From where I sit, the platform likely to win will be the one that sets developers free - to pursue markets, opportunities and customer experiences as they define them, not as vendors define them. Now, setting developers free - that's where we can excel. It's in the DNA of everything we do.For developers, learn more at JavaFX.com. And be sure to check out NetBeans - like Java itself, it's starting to rock the free world... "

Monday, July 7, 2008

Your Java Programming Questions(by BruceEckel)

This post is copied from Bruce Eckel's mindview.net website.If anyone has questions about java programming can send your questions to the site links given below
The following qouted text is written by Bruce Eckel itself
" I am terribly swamped with email and am unable to answer programming questions. If you are having code installation problems, please follow the instructions here.
There are several people who have kindly offered to answer Java questions that you would normally send to me. So please send all questions to:"
Sun has a "New To Java" Programming Information Center to help get you started.
Bill Venners, who teaches with me, has created the Java Answers Forum. He said: "I wanted to create a place where programmers could ask and answer each other questions, where the questions and answers would remain indefinitely and be searchable."
The forums at TechInterviews have many people asking and answering Java questions.
IBM DeveloperWorks contains some nice introductory material.Robert Hurd has created
Code Collection
, An
Internet technology help web site to assist Java programmers. You can send
programming questions to
rhurd@codecollection.com
. -->
Kathy Kozel has created http://www.javaranch.com/ for the same reason. You can send programming questions to kathykozel@javaranch.com
Marcus Green maintains the Java Certification Exam Discussion Forum
Another page about certification www.levteck.com.
Raymond Blum is available to answer Java questions. He has several years experience in Java and other O-O languages and is currently consulting as an OO mentor and Java instructor. You can send him questions at raytrace@thebyteboard.com
David Reilly has a web site devoted to answering Java questions, which seems well-targeted to beginners. You can go directly to his FAQ.
JFind keeps a list of answers and snippets.
The JavaFAQ specializes in Java questions and answers, including Java Daily Tips, many online Java books, a weekly newsletter, and they provide a free "Java Tips" e-book.
Charles Bell says he will be happy to try to answer questions; he also has a web site at http://www.quantumhyperspace.com.
jGuru.com http://www.jguru.com maintains a set of community-driven, topical FAQs where developers can pose questions or answer those already posed.
Kevin Brown has created an egroup "For those who are working through and would like to discuss the book."
Here's another study group for TIJ: http://groups.yahoo.com/group/JavaThink/.
For JSP (Java Server Pages) questions, JSPInsider claims to have "a refreshing take on JSP." JSPInsider is based upon a group of developers sharing information to help the JSP community make the most out of JSP. They also have a newsletter.
From a bulletin from Sun: "HotDispatch, Inc. and Sun Microsystems, Inc. are helping to bring people together in a real-time marketplace for Java technology support ... [if] you like the idea of getting technical help at competitive prices, visit: http://developer.java.sun.com/developer/support/Hotdispatch/"
Dr. Heinz Max Kabutz publishes an Advanced Java newsletter. Not for the uninitiated, but I find something fascinating in every issue. To subscribe, either send an email here or do it via the web here. He has back issues here.
Programmer's Heaven provides a Java Message Board for Q & A.

Sunday, May 25, 2008

Know about SCWCD5 ; by Bryan Basham in javaranch

its a Bryan Basham(one of the authors of Head First Servlets&JSP) meassage to those who are giving SCWCD5

I have been reading a few posts that have mentioned the new SCWCD5 exam and I thought that I would give you my perspective. I feel qualified to do this because I was the one contracted by Sun to create this update.First of all, the title of the exam is pure marketing fluff. The SCWCD5 exam has nothing to do with Java EE v1.5. This exam (CX-310-083) is merely an update of the old SCWCD exam (CX-310-081). No objectives were changed. The new exam is solely based upon the J2EE v1.4 version of the serlvet (2.4) and JSP (2.0) and JSTL (1.1) specs. This decision was made almost two years ago when I was leaving Sun. My vote in that decision was based upon the fact that the changes in the relevant specs were very minor (as Mr. Lyons has mentioned). In fact, at the time I told Sun that it didn't make sense to create a new exam. Six months ago, Sun contracted me to do a update of the exam to replace items that were not performing well. More on that in a minute.[BTW, the biggest change in the web technologies for Java EE v5 was the introduction of JavaServer Faces (JSF). At the time of the decision, I felt that JSF was (a) not mature enough to be included and (b) big enough that it might need its own cert exam. For SCWCD6 (for Java EE v6) I have recently recommended to Sun that they consider a major rewrite of the objectives to add objectives for JSF and remove objectives that JSF essential makes irrelevant. However, this is not a done deal by any means and I now have very little sway within Sun.]The update itself included creating nearly 140 items (spread over several forms). So the new (updated) SCWCD5 exam is a mixture of old items and new items. One ranch hand asked if the new exam items are harder than the old exam. Sun asked me to make the new exam more "performance based" rather than "knowledge based". An example of knowledge based would be something like:

Thursday, May 22, 2008

Learn JavaFX

The demand continues to grow for rich interactive content, applications, and services that run on a variety of clients. To simplify and speed the creation and deployment of high-impact content for a wide range of devices, Sun is introducing JavaFX, a new technology based on the Java platform, designed to enable consistent user experiences on desktop, mobile, TV, and other consumer platforms.
At a Glance
JavaFX is a powerful client technology for creating rich Internet applications (RIAs) with immersive media and content across the multiple screens of your life.

JavaFX technology features a high-performance declarative scripting language, JavaFX Script, for building and delivering the next generation of rich Internet applications for desktop, mobile, TV, and other consumer platforms. To bridge the gap between user experience design and programming logic, JavaFX technology will provide a suite of tools and authoring solutions that enable unprecedented collaboration between designers and developers.

JavaFX technology provides the presentation layer for the Java ecosystem: Java developers can team up with their designer colleagues to create new and unique content that combines the best of today's advanced enterprise software and rich Internet applications.
Build and Run Interactive Content Quickly and Easily
JavaFX Script will enable designer, scripters, and developers to more quickly and easily develop rich Internet applications and next-generation services that can be proliferated across multiple screens — desktops, browsers, mobile devices, set-top boxes, and, over time, other consumer platforms.

Create Visually Compelling and Dynamic Applications
JavaFX Script is a highly productive scripting language with the optimal balance of enabling rich, expressive graphical interfaces as well as binding to various data sources to create compelling mashup applications. JavaFX Script offers a close integration with other Java components (applications and infrastructure), enabling a rich end-to-end experience for developers and users.

Mobilize Your Content
JavaFX Mobile technology opens the door to content creators who want to tap into the rich capabilities of today's mobile devices. Providing a set of APIs that are compatible with JavaFX Desktop, the product builds on top of the market-leading Java ME platform to expose key device capabilities while enabling the broadest possible deployment.

Use Powerful Tools for Rapid Development
JavaFX tools will offer creative solutions for both developers and designers. There is a JavaFX Script plugin with language support for NetBeans IDE. The plugin enables development of JavaFX Script applications within the cross-platform NetBeans tools suite. Also planned is a tool for visual and interactive designers to simplify creation of rich Internet applications (RIAs).

Openness and Compatibility Matter
Like the rest of the Java platform, JavaFX Script will be available under the GPL license.

for more information you can visit (http://www.sun.com/software/javafx/index.jsp)

Tuesday, May 20, 2008

Sites usefull for developers

hi guys,
This post is for java developers.
I hope that below sites will help you.
expecting a reply.
1
http://www.devtopics.com/
3
http://www.technewsworld.com/
4
http://www.devtopics.com
5
www.javajazzup.com
6
www.hiteshagarwal.com
7
www.jaxtut.com
8
www.ajax-tutorials.com
9
www.library.thinkquest.org
10
www.codebeach.com
11
www.codetoad.com
12
www.daniweb.com
13
www.ibm.com/developerworks/java
14
www.dynamicdrive.com
15
www.tutorialadvisor.com
16
www.roseindia.net
17
www.laliluna.de
18
www.scriptdungeon.com
19
www.pdf.coreservlets.com
20
www.codegravity.com
21
www.developers.evrsoft.com
22
www.ajaxpatterns.org
23
www.javadb.com
24
www.javacofeebreak.com
25
www.esus.com
26
www.java-forums.org
27
www.javagalaxy.com
28
www.brainjava.com
29
www.javaskyline.com
30
www.java-tips.org
31
www.javaboutiqe.internet.com
32
www.javabuggers.com
33
www.java.dzone.com
34
www.javareference.com
35
www.javascriptfreecode.com
36
www.javascriptkit.com
37
www.nuclearscripts.com
38
www.mobilefish.com
39
www.koders.com
40
www.sourcecodesworld.com
41
www.developer.com
42
www.allapplabs.com
43
www.hotcoding.com
44
www.codecoffee.com
45
www.tutorial.jcwcn.com
46
www.javaworld.com
47
www.planet-source-code.com
48
www.webdevelopersjournal.com
49
www.javabeginner.com

Friday, May 16, 2008

BIO of James Gosling

James Gosling received a BSc in Computer Science from the University of Calgary, Canada in 1977. He received a PhD in Computer Science from Carnegie-Mellon University in 1983. The title of his thesis was "The Algebraic Manipulation of Constraints". He is currently a VP & Fellow at Sun Microsystems. He has built satellite data acquisition systems, a multiprocessor version of Unix, several compilers, mail systems and window managers. He has also built a WYSIWYG text editor, a constraint based drawing editor and a text editor called `Emacs' for Unix systems. At Sun his early activity was as lead engineer of the NeWS window system. He did the original design of the Java programming language and implemented its original compiler and virtual machine. He has been a contributor to the Real-Time Specification for Java, and a researcher at Sun labs where his primary interest was software development tools. He the was the Chief Technology Officer of Sun's Developer Products Group and is now the CTO of Sun's Client Software Group.

The starter

Hi,
I would like to introdue you myself as Raghu Deep Amilineni.I have started this blog to let people know more about emerging java technologies and frameworks.This is concentrated towards a category of people who are new to java technology and would like to be updated with the technology.
I promise I provide valid and usefull information which will definitely help you.
Thank you.