aspose file tools*
The moose likes iOS and the fly likes accessing a J2ee web application on iphone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » iOS
Bookmark "accessing a J2ee web application on iphone" Watch "accessing a J2ee web application on iphone" New topic
Author

accessing a J2ee web application on iphone

Akbar Ali Khan
Greenhorn

Joined: Apr 30, 2010
Posts: 2
Hi,

We have a web application written using J2EE stack. This web app shows list of doctors (photos and information) and the member can browse the doctors from the page. Since we already have the business logic and services already written in Java, how can we reuse these and make this web application available to the end users on iPhone ?

How do design the UI for iphone, what are the hardware and software requirements. Can this be done on windows ?
How can the UI communicate to the Java services which can return the list of available doctors ?


Thanks
Akbar
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

The iPhone does have a web-browser. You can already view your web-page and zoom in using a reverse pinch gesture.

If you still want to make a native app there are webapps, but objective-c apps are more powerful.

Google results for "Cocoa socket"
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Streams/Articles/NetworkStreams.html
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

Here is a link to an iPhone forum that is much more active that this javaranch iPhone forum:

link to MacRumors.com iPhone forum:
http://forums.macrumors.com/forumdisplay.php?f=135

Akbar Ali Khan
Greenhorn

Joined: Apr 30, 2010
Posts: 2
Hi Kaydell,

Thank you for the information


Thanks
Akbar

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Actually you can expose your middle tier via web services or REST and have a UI using iPhone SDK to access them and display in the phone's native way.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing a J2ee web application on iphone