Hi koala,

In my non-expert opinion you have two options, none of which are easy, but
both look quite feasible.

The first is to take inspiration from libraries like SwingWT, which is a
port of the Swing API on top of SWT. This is worth doing if you already have
invested in a Swing desktop client. Naturally, you'll have to do that for
every JSE API that you use and is not available on Android, so you should
minimize the use of those.

The second is to build your desktop application on the Android API and then
extract the Android classes you are using and port them to OpenJDK. This may
be an easier path, because the Android SDK is Apache licensed and you can
directly use it, instead of implementing a compatible port anew. Again, you
need to minimize the use of APIs which are hard to port.

Good luck,
Yuri

On Fri, Feb 4, 2011 at 8:49 AM, koala <koalares...@gmail.com> wrote:

> I didn't say a full j2ee stack, i said OpenJDK (the 'full Java SE
> stack').
>
> And yes, in my case we have been asked to develop an enterprise
> desktop client that talks to remote EJBs. Our customers are asking for
> an Ipad Application, I thought android would be more open / portable,
> Yet it seems that 'android-developers' are not that portable.
>
>
> On Jan 21, 12:46 am, chris <christ.pe...@gmail.com> wrote:
> > > Imagine if we could run swing, rmi, if we could run all java code as
> > > it is, we could run enterprise application clients. We could have
> > >androidapps running on the desktop and on the phone.
> >
> > Great idea.
> >
> > why think small ? I need a full J2EE stack to use EJB to manage
> > distributed transactions and simplify my synchronization.
> > anyone running Websphere onopenjdk?
> > :p
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to