File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes ajax and java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "ajax and java" Watch "ajax and java" New topic

ajax and java

Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

i want to use ajax with java. but i dont know which library to use and i need some examples to practice i have gone through the net i have found ajaxtags to be useful but can anyone give me an example of autocomplete with database or resources where i can find sample codes.

[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

one more question folks if i create a webapplication using java(struts) and jsp and Google Web Toolkit on windows platform will it run properly on linux
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63862

Please ask one question per topic.

To answer your first question, you don;t need to to do anything special in order to use Java as the server-side resource for Ajax requests. Just make your Ajax requests from the client, either by hand-coding the Ajax, or by using JavaScript libraries such as Prototype or jQuery. What you use on the server is independent of that -- it could be Java, or any other server-side side language.

[Asking smart questions] [About Bear] [Books by Bear]
kelby zorgdrager

Joined: Feb 05, 2008
Posts: 12
the answer to your second question is...

everything you set up on the windows platform should work fine on the linux platform, assuming you are using the same version of java and you are linking to any DLLs

<a href="" target="_blank" rel="nofollow">J2EE Training / Java EE Training ... Learn Java EE </a>
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2851

Originally posted by kelby zorgdrager
same version of java and you are linking to any DLLs

How do you get DLL support in Linux? Not about Wine.
And a web application would seldom require any DLL.

|Asking Good Questions|
I agree. Here's the link:
subject: ajax and java
jQuery in Action, 3rd edition