• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servelet application

 
bidmi robson
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone please show me the way to writting a java servlet application that will be accessed through a mobile phone...i mean the client side is to be on the phone ..i`ve never written a mobile application before so kindly help me out if you know please.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A servlet is a servlet, regardless of what's accessing it.

What specific issue are you trying to address?
 
bidmi robson
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:A servlet is a servlet, regardless of what's accessing it.

What specific issue are you trying to address?

i want to use this as my undergraduate project..a database application containing records of crime committed by people..the mobile device is what the law enforcement agents will use for the record checking..but also if the person caught has no previous record,the same device is used to enter new record based on a stipulated parameter.xample the social security number of such person.... so how can i go about it....?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What, specifically, are you asking about:
  • writing the mobile application
  • writing a servlet
  • having the mobile app communicate with the servlet
  • creating the database for this
  • accessing the database from the servlet
  • something else

  • ?
     
    Abimaran Kugathasan
    Ranch Hand
    Posts: 2066
    Clojure IntelliJ IDE Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    With the MVC architecture, we only need to care about the viewer for this application, all the other parts are same as a normal web application? I think, for viewer part, we can use XHTML for mobile browser?

    Somebody Please confirm?

    Thanks!
     
    bidmi robson
    Greenhorn
    Posts: 16
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Abimaran Kugathasan wrote:With the MVC architecture, we only need to care about the viewer for this application, all the other parts are same as a normal web application? I think, for viewer part, we can use XHTML for mobile browser?

    Somebody Please confirm?

    Thanks!

    well you seem very sure of what you are saying. so can you help me on how to start?
     
    bidmi robson
    Greenhorn
    Posts: 16
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Lester Burnham wrote:What, specifically, are you asking about:
  • writing the mobile application
  • writing a servlet
  • having the mobile app communicate with the servlet
  • creating the database for this
  • accessing the database from the servlet
  • something else

  • ?

    i mean write the application using servlet and accessing it through mobile phone....i dont know if it sounds stupid but i cant think of any better way to say it than this...help me.
     
    David Newton
    Author
    Rancher
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Are you asking how to write a servlet, or how to write a mobile phone app? Is it a phone app, or just a web page created for phone-sized displays? Or...?

    If this is *your* undergraduate project shouldn't you be telling *us* how you've gone about getting started, then asking specific questions as they arise?
     
    Tim Holloway
    Saloon Keeper
    Pie
    Posts: 18277
    56
    Android Eclipse IDE Linux
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    As David said, a servlet is a servlet, so whether the client is a mobile phone or not doesn't matter to it.

    On the other hand, mobile phones vary a lot in their web access capabilities. Older, less powerful phones might not have web browsers on them, but still have web access. There's a special XML format called WAP that works for those devices. I think most phones these days can do HTML, however, so WAP is no longer that common.

    The only thing specific to mobile HTML webapps is that your display area is going to be much smaller - 320x240 pixels is typical, and that's including frames and borders. Also, go light on the extensions. Mobile devices may not include a full JavaScript implementation (which may limit AJAX capabilities) and may not include Flash at all (for example, iPhone) or may include Flash Lite.

    The rest is up to you.
     
    bidmi robson
    Greenhorn
    Posts: 16
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    David Newton wrote:Are you asking how to write a servlet, or how to write a mobile phone app? Is it a phone app, or just a web page created for phone-sized displays? Or...?

    If this is *your* undergraduate project shouldn't you be telling *us* how you've gone about getting started, then asking specific questions as they arise?

    i am still thinking about how possible it is before going ahead i still have to first submit a proposal on this and it`s when it is given a go-ahead that i can begin this project so i know pretty well what i`m doing by asking for help....so can you confirm if this is possible and the steps i should follow in achieving it so i can add it in my proposals... my project supervisor needs specifics and not beating around the point...please help.
     
    David Newton
    Author
    Rancher
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Yes, it's possible.

    Your project--you come up with the specifics. If you have *specific* questions, we're more than happy to help, but you must ShowSomeEffort. We're NotACodeMill, and expect people to DoYourOwnHomework. By giving you the steps needed we'd be depriving you of one of the main benefits of school: learning to think and research.
     
    bidmi robson
    Greenhorn
    Posts: 16
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    David Newton wrote:Yes, it's possible.

    Your project--you come up with the specifics. If you have *specific* questions, we're more than happy to help, but you must ShowSomeEffort. We're NotACodeMill, and expect people to DoYourOwnHomework. By giving you the steps needed we'd be depriving you of one of the main benefits of school: learning to think and research.



    well thanks i appreciate that..it`s exactly what i need to hear and i`m encouraged by that.i`ll get back to you.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic