Solved

Ajax newbie question: Where do I start?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl 101 11 72
Advice on what platform to use for a web app for AWS 3 94
Create 4 <div> below each other in php 2 59
use of cookies and regulations 1 76
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
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:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now