Announcement Announcement Module
No announcement yet.
Spring mobile or Spring mvc Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring mobile or Spring mvc

    Hi I am about to start a new spring project. Its a web application project. Should I go for Spring mvc or spring mobile.
    I have developed couple of spring mvc projects but new to spring mobile. I have few questions in mid:

    If spring mobile is for cross platform then why spring mvc is used because everyone wants its web application to run on different devices?
    Can I develop rest based spring mobile web application ?
    If in future, I decide to develop native iphone and android apps, will spring mobile will allow me to do that without duplication of code ?
    Thankyou very much in advance !!!

  • #2
    @shahzadsadiq Spring Mobile extends the functionality of Spring MVC. They are not mutually exclusive. At it's core, Spring Mobile provides device type detection, and then offers a few options for how to present different views based on that resolved device type. There is no reason you can't develop REST applications while using Spring Mobile.