Solved

Ajax newbie question: Where do I start?

Posted on 2006-06-28
3
219 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
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 how to look for a specific file type in a local or remote server directory using PHP.

777 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