What's the difference between JSP and WS (web service) in Java - web-services

I want to create a web chat and i'm looking for a lot of tutorials but i don't know if i should use WS or JSP, and i don't know the difference between both.
I'm sorry for my begginer question, and thanks for your help.

Related

messed up with soap api

Hey guys am developing an api for my website ..i have came to know about soap api..i know api can be created using rest..but the things which came to be confused for me when soap protocol came into action..i have reffered many soap tutorials over the internet and i became really confused.
Is soap used for making apis or linking different apis together ??...Is soap do the same function of Rest artchitecture..Can a website api be build through soap ??..
Hope you guys can help me in understanding soap...Any help would be really appreciated .Thanx in advance..
In general SOAP is distributed computing style and REST is web style (web is also a distributed computing model).
please read more here

JSON Response from VB .NET ASPX Page

I know there might be close answers around but I needed help on specific matter.
I have to create a web service that has to accept a URI like below:
serverip/?userID=15068866&serviceID=595&username=222&password=333&message=something
The response should also be in JSON format and the Service SHOULD be RESTful.
Since there is logic behind this service that has been developed by VB .NET, I have to develop this bit using VB .Net too.
If anyone can suggest a very basic tutorial (FOR VB .NET PLEASE NOT C#) or put me in a right direction that would be great.
thanks
This is a basic tutorial in VB.NET which may be helpful to you:
http://visualstudiomagazine.com/articles/2011/06/21/wcnet_configure-wcf-for-rest-with-json.aspx

Spring + rest + mysql

Hi friends,
I am new to spring frame work, please help me to create simple web serice application using spring frameWork+ Mysql database+restFul web services and how i can perform CURD opreations using restFul API's, from restClient please help from basic.
Thanks
Here's a pretty decent tutorial on getting started with Spring MVC: http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example/
For mysql, have a look at: http://www.mkyong.com/spring/maven-spring-jdbc-example/
GOto https://github.com/JohnathanMarkSmith Johnathan Smith has examples for that and if you need his help he is always willing to help

CMUSphinx for web application

I'm trying to create an speech reconigtion based web. Afer some searching, i found that cmusphinx is a library quite good for speech reconigtion application. And my problem is how can communicate between cmusphinx and web ?
Sorry if this is a silly question.
Thanks for all your help !
In general, you need a web framework to marshal web requests to the Java or C code, then you just need to implement required speech-to-text methods with CMUSphinx API.
Here is the JAX-RS tutorial:
http://docs.oracle.com/javaee/6/tutorial/doc/giepu.html
There are also more lightweight web service framework, for example Sinatra for Ruby.
You can also study existing implementations of web service using CMUSphinx, for example
https://github.com/alumae/ruby-pocketsphinx-server
Read more about it here.

Can anybody comment on django-wapi?

Aside for a few user guides found at http://fi.am/en/tag/django/2/ I have not managed to find much about WAPI.
I was wondering if anyone has had an experience using WAPI and django to create a web api?
I'm a little intimidated by the amount of magic these frameworks seem to do.
Are there any other good alternatives to creating a web api in python?
Here is a decent guide to the django WAPI for building a restful API: http://fi.am/entry/building-a-website-api-with-django-part-2a-api-aut/