can anyone please show me the way to writting a javaservlet 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.
A servlet is a servlet, regardless of what's accessing it.
What specific issue are you trying to address?
bidmi robson
Greenhorn
Joined: Sep 12, 2010
Posts: 16
posted
0
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
Joined: Oct 14, 2008
Posts: 1337
posted
0
What, specifically, are you asking about:
writing the mobile application
writing a servlet
having the mobile app communicate with the servlet
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!
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
bidmi robson
Greenhorn
Joined: Sep 12, 2010
Posts: 16
posted
0
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
Joined: Sep 12, 2010
Posts: 16
posted
0
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.
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?
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.
Customer surveys are for companies who didn't pay proper attention to begin with.
bidmi robson
Greenhorn
Joined: Sep 12, 2010
Posts: 16
posted
0
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.
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
Joined: Sep 12, 2010
Posts: 16
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.