Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15585

Re: Java claims WORA

From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: Java claims WORA
Date 2012-06-25 20:44 +0200
Organization albasani.net
Message-ID <jsabj8$h0p$1@news.albasani.net> (permalink)
References <8bc88bdc-bd63-4dd2-ba6c-cb0a7622fa1f@googlegroups.com> <js2hnr$g5p$1@news.albasani.net> <js9qok$83k$1@dont-email.me> <jsaavf$fl7$1@news.albasani.net>

Show all headers | View raw


Jan Burse schrieb:
>
> http://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.html
>
>
> The above would allow to build a Swing client and an Android
> client that differ considerably, for example that implement
> different workflow and/or different GUI layout.

Oops, I just see the above pattern is a little bit over
the top, it more addresses lose coupling of client and
business services. But I guess it is not forbidden to also
tightly couple them. You still get the reuse benefit.

In my present case the client and the business services
form one tier. A business servivce might spawn to other
tiers. But client and business services are bundled
together for deloyment.

Practically one can approach this as follows:

Create Project I for the Business Services,
-------------------------------------------
you can compile the result into business.jar

Create Project II for the Swing Client,
-------------------------------------------
this project will use the library business.jar,
and produce swingclient.jar. To execute the
result both business.jar and swingclient.jar
will be in the class path. But you can also
merge them.

Create Project III for the Android Client,
-------------------------------------------
same idea as for the Swing Client, but you
need to additionally run your results to
some Android tool chains. And have some
Android emulator and/or device available
for testing.

Have fun

Bye

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Java claims WORA owais <awais4you@gmail.com> - 2012-06-20 08:33 -0700
  Re: Java claims WORA Robert Klemme <shortcutter@googlemail.com> - 2012-06-20 09:21 -0700
  Re: Java claims WORA Gene Wirchenko <genew@ocis.net> - 2012-06-20 09:46 -0700
  Re: Java claims WORA Lew <lewbloch@gmail.com> - 2012-06-20 10:47 -0700
    Re: Java claims WORA "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-24 16:56 -0700
  Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 17:02 -0400
    Re: Java claims WORA glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-20 21:45 +0000
      Re: Java claims WORA Martin Gregorie <martin@address-in-sig.invalid> - 2012-06-20 22:25 +0000
        Re: Java claims WORA Robert Klemme <shortcutter@googlemail.com> - 2012-06-21 00:57 +0200
          Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 16:46 -0700
            Re: Java claims WORA David Lamb <dalamb@cs.queensu.ca> - 2012-06-20 19:56 -0400
      Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 19:16 -0400
        Re: Java claims WORA "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-24 16:58 -0700
  Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 16:43 -0700
    Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 20:30 -0400
    Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-20 18:37 -0700
      Re: Java claims WORA Arne Vajhøj <arne@vajhoej.dk> - 2012-06-20 21:47 -0400
  Re: Java claims WORA Thomas Richter <thor@math.tu-berlin.de> - 2012-06-22 19:18 +0200
    Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-22 15:59 -0400
      Re: Java claims WORA Roedy Green <see_website@mindprod.com.invalid> - 2012-06-24 04:43 -0700
        Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-24 18:51 -0400
          Re: Java claims WORA Lew <noone@lewscanon.com> - 2012-06-24 23:27 -0700
            Re: Java claims WORA "John B. Matthews" <nospam@nospam.invalid> - 2012-06-26 15:43 -0400
    Re: Java claims WORA Jim Janney <jjanney@shell.xmission.com> - 2012-06-22 18:23 -0600
  Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-22 21:40 +0200
    Re: Java claims WORA David Lamb <dalamb@cs.queensu.ca> - 2012-06-25 09:57 -0400
      Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-25 20:34 +0200
        Re: Java claims WORA Jan Burse <janburse@fastmail.fm> - 2012-06-25 20:44 +0200

csiph-web