Sep 12th, 2012, 06:17 PM
[Question] is spring good for my project?
Hello everybody, my name is Tiago and I'm new here. I talked to some people and they said spring will help me in my project so I thought it was a good idea to ask here in forum before start studing this framework.
I will make a server side software that manages a database, authenticates a client, a client receives data (name, address, ...) returns data requested by a client, and does some processing on the data.
the client will simply send data and requests that server, the client will be desktop and mobile (android, iphone) and not use any web browser.
and all data will be encrypted.
I do not know how this communication, web services, rest, http or sockets?
May I use spring? if yes, where should I start? could direct me to a website, blog with tutorials?
I'm sorry if I posted in the wrong session.
Sep 13th, 2012, 03:07 PM
Spring helps you to manage your application components, makes database access easier,provides declarative transaction management, exposes rest services easily.
As a communitacion protocol, I would recommend you REST over HTTP using JSON. It is lightweight and kind of standard these days. You can use https for encryption with basic http authentication.
Where to start? Spring is quiet a big framework, but don't worry, you will use a small portion of it.
For start, you should probably google some Spring tutorials to get acquainted with it a bit.
Spring reference manual is very detailed. Petclinic is a sample demo application. You can find lots of documented configuration there.
Spring in Action is a good book on Spring framework.
Rest tutorial is for example here http://blog.springsource.org/2009/03...-spring-3-mvc/