ajax jsp problem

hello friends ,
i am new to ajax and have to use in my project. i have awareness with java script and html but dont have sound knowledge. i searched on ajax and find no. of tools like GWT, YUI ,Jmaki, ajax jsp tag libraries
now what my problem is i am using netbeans n tomcat what is the best tool  between i have specified above and how to integrate it with  netbeans.
one more thing is there any control for ajax that provides coding for ajax as we did in .net there is no need to write code for ajax in .net we simply put our code in ajax tag and ajax control  provides all the functionality.
can we do the same thing in jsp. then how?
or there is no ajax  control for jsp as in .net?
 friends what ever you suggest plz mention your answer with all the steps required to implement and integrate  ajax with netbeans.  
LTIndiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mohammedfCommented:
1. the best tool is NetBeans ,,, it has many plugins that support AJAX ( like JMaki ) and in futute i expect that many framework can be integrated with it.

2. u can do what u did using .Net , but with small components in NetBeans ( like AutoComplete Text Field , Progress par , Rating , Rich Text field Area , Map chooser ) just these components.

in my opinino ( and this what im doing in my projects ) i write ajax in code , i make the javascript to call a servlet (or jsp page) i get used to do this , and i used ajax4jsf ,, it is so nice framework.
https://ajax4jsf.dev.java.net/

and i think JMaki is a good choice if u dont like to code ajax in ur hand :)
0
LTIndiaAuthor Commented:
hi mohammedf,
thanks for your suggestions , i have installed jmaki plugin with netbeans6.0 .
now my reqiurement is make a dynamic table(no. of rows will be depend on no. of items fetched by database) in which i need ajax functionality. jmaki has two options one for table and one for altering table but how to insert my jsp code like<%=request.getParameter("no. of rows fetched from database ")%>.
what i did with normal html i write <tr> code in loop to make table dynamic
how can i do it with jmaki
plz if u can send me some examples or code or any study material ,that will be great favor for me.
thanks in advance
0
mohammedfCommented:
hi
u need not ajax to make dynamic table LTIndia, u can do that using netbeans without any ajax functionalty  just do the following:
1. drop a dataTable in the page
2. go to datasources , choose the table u want to view in this table ,, drag and drop it in the table u inserted in the design view of ur page

in this way u will automatically configure the data table
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

LTIndiaAuthor Commented:
ok my table will contain hundreds of rows in future in that case i am giving next and previous button in my table two fetch rows . in that case i dnt want my page to be reload and refresh. how can i do it without using ajax as you suggest me my dear friend.
thanks
0
LTIndiaAuthor Commented:
hi mohammedf,
basically my requirement is not only for this table i can manage it.Main thing is i am going to make a complex web application in which i have to use ajax. is jmaki sufficient as i dnt have knowledge on jmaki as you know and how can i speed up with jmaki to use its functionality frequentaly....
is there any site where i can get some examples in those jmaki(ajax) and jsp coding are running together
0
mohammedfCommented:
well
when using hundreds of rows , fetching all these rows will make the sarver to face a real problem :)
instead , Paging comes to rescue ,,,, when u use paging ( with the next and previous buttons ) the server quickly fetches the next page of rows. this is a performance issue.
note : AJAX is not the fanastice and amazing  solution for every thing :) as refreshing this page in this cases is ok ( ajax can do this with out refreshing , but u can use the functionalty in ur netbeans IDE ) it is much easy.

if u insest on  paging in ajax
here is a nice link:
http://www.c-sharpcorner.com/UploadFile/desaijm/AJAXPagerControl02012006220722PM/AJAXPagerControl.aspx?ArticleID=517f72dc-fd5d-43c2-a5d8-994167d4b1df


0
mohammedfCommented:
0
LTIndiaAuthor Commented:
hi mohammedf,
i am sending you link of one of the site made by my company
http://www.jogalaliga.com/VisitorModule/Leagues.aspx
now the project i am going to do on jsp has approximately same ajax functionality as the above site has.
plz if you have time then plz have a look of the site and then tell me such type of complex application how can be implementated in jsp and ajax. lets take an example like i want to use autocomplete in ajax now my contents are coming from database then how can i integrate it with Jmaki as i have seen no. of examples on jmaki but they are not using any db application....
have you any code where u have used ajax tags with database application
thanks in advance
rakesh
0
mohammedfCommented:
hi
i took a look at this site it is nice ( i like Barca by the way :) ) , it is simple in fact , and u can do the Ajax functionality by code ,, and u need not any component , all what u need is to improve ur ajax skills and forget IDEs and wizards for a while .

>>have you any code where u have used ajax tags with database application
AJAX do not interact with Database directly rakesh , instead the JSP page or asp page will do that ,, the main function of Ajax is to send and get response from the page ( jsp or asp ) so Ajax it self will not call the database.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.