Alfredo Perez

Greenhorn
+ Follow
since Apr 21, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alfredo Perez

Thanks a lot to everyone for your replies. A lot of food for thought. I will make sure to post my findings when I have come up with an architecture for this.

Best Regards
18 years ago

Originally posted by Mark Spritzler:
Ahh, now the requirements come to light. Thanks Alfredo.

OK, so it is all about online vs offline. So here is the design. You need to have the client not know whether it is calling a Servlets, a Plain Old Java Object, or an EJB. It only knows how to call methods on a simple interface. The implementations of this interface is what will know whether it is calling a Servlet, Plain Old Java Object, or EJB. So these implementation will convert the response received from the Servlet, POJO, or EJB, into a format that the client can use. This way we have extracted out the need for the client to care whether it is working online or offline...



Mark, thanks. This was my first approach to the problem, but it means creating a specific implementation for the PDA project. I basically want to reuse the Servlets that I already have and simplify the maintenance process.

Any additional comments are more than appreciated

Best Regards

Alf
18 years ago
Thanks for the responses!

Even though I know that running the server and the client on the same device might seem "overwhelming" for a little PDA, the advantage is that I can reuse Servlets that were written for a desktop environment, simplifying the maintenance process. Complementing some of your comments, not only I need a JAS, I also need a messaging server (for sync purposes while on "online" mode) and as you mentioned, a mini-database. Actually, something like this already exists: IBM offers a framework called "Workplace Client Technology, Micro Edition", which provides all this. Actually, I wrote a little app and the performance is more than acceptable. The problem that I am facing is that licensing IBM technology is prohibitively expensive. Here is the link to such technology:

http://www-306.ibm.com/software/wireless/wctme/

I have been looking for the components as separate pieces and actually found the DB and messaging server, but not the JAS for PDAs. Any information or feedback that you might have about this is greatly appreciated.

Best Regards

Alf

[ April 22, 2005: Message edited by: Alfredo Perez ]

[ April 22, 2005: Message edited by: Alfredo Perez ]
[ April 22, 2005: Message edited by: Alfredo Perez ]
18 years ago
BTW, the idea is also to have a mini-version of the database on the device...

Thanks again!
18 years ago
Hello!

Well, after posting a couple of topics in the wrong forum (sorry about that, learning the ropes around here), I would like to ask for your help on finding a good solution for this scenario...

I am designing a web application that will run in online and offline modes. The idea is to use servlets on the server side for the business logic, but the problem is when the device (or notebook or desktop) cannot access the server. I was thinking on placing some of the servlets on the device, but I have not been able to find a Java Application Server Pocket PC or Palm compatible.

I would appreciate your thoughts on this.

Best Regards

Alf
18 years ago
Ok, I will rephrase my question. How can I host a servlet on a PDA?

Thanks!
18 years ago
Hi!

I am looking for a Java Application Server that would run on a PDA (Pocket PC or Palm compatible). Have you heard of any product that would do this?

Thanks in advance!
18 years ago