Solved

Ajax newbie question: Where do I start?

Posted on 2006-06-28
3
220 Views
Last Modified: 2010-04-06
Hello -

I am completely new to programming the browser based front-end though I've written many traditional GUI applications.
Being a server-side Java engineer, I'd like to learn - using a tutorial - how to write Ajax code for (say) BEA WebLogic application server. I looked at BEA's website and couldn't find a tutorial-like section that gives me a step-by-step introduction to Ajax coding with their app server. Hence I am looking for a website that could help me build a simple "Hello World" style form with Ajax that takes (say) the name of a person as a String from the user, passes it to the back-end that returns the reversed name back to the browser.

Any pointers on this will be appreciated. Thanks in advance.
0
Comment
Question by:baigmz
3 Comments
 
LVL 30

Assisted Solution

by:third
third earned 30 total points
ID: 17006566
0
 
LVL 15

Accepted Solution

by:
bpmurray earned 65 total points
ID: 17008154
You've actually hit the nail on the head: the problem  with AJAX is that there's no well-defined solution on the server side. While libraries like scriptaculous/protoype/dojo are great for the client-side, they don't help with the server.

To address server-side issues, you need to decide a number of things: are you going to use a traditional app server or a portal server? If the latter, then you've got a whole nother set of issues to address. Then you have to look at your server-side framework. If you use JSF, you have to interject your solution into the lifecycle; or perhaps you can resolve callbacks in a special server. Then you have to decide if you're going to send ready-formatted markup back to the client, or if you'll only send XML and massage that to generate your UI.

There are some good books around - AJAX in Action is one I like, but there are a bunch of them, although I have to admit, that Google is your best friend here!
0
 
LVL 8

Assisted Solution

by:RWJDCom
RWJDCom earned 30 total points
ID: 17012873
Check out http://www.zapatec.com; they have some real cool stuff about AJAX there.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question