Go Back   Velocity Reviews > Newsgroups > Java
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Java - Flash interface with business logic in JAVA?

 
Thread Tools Search this Thread
Old 11-03-2009, 02:53 AM   #1
Default Flash interface with business logic in JAVA?


Hi,

I need to prepare a web-based interface for a Java application. One of
the options is to make an applet, but we also consider a Flash movie
clip. So here are my questions:

1) What is the easiest way for Flash to talk to Java process? I've
found about some XML-based solutions but it looks a little messy... Is
there any better option?

2) So far the Java part runs as a stand-alone application. It will be
set up on an application server, but we need also a version for client
in-house installation. How to make it as easy as possible for the
_end_user_ to install the software? Ideally, one should be able to
download a file, double click on it and then open a web-browser and
has it ready under some address.

Many thanks for help,
Dominik


tnorgd
  Reply With Quote
Old 11-03-2009, 03:00 AM   #2
Arne Vajhøj
 
Posts: n/a
Default Re: Flash interface with business logic in JAVA?
tnorgd wrote:
> I need to prepare a web-based interface for a Java application. One of
> the options is to make an applet, but we also consider a Flash movie
> clip. So here are my questions:
>
> 1) What is the easiest way for Flash to talk to Java process? I've
> found about some XML-based solutions but it looks a little messy... Is
> there any better option?
>
> 2) So far the Java part runs as a stand-alone application. It will be
> set up on an application server, but we need also a version for client
> in-house installation. How to make it as easy as possible for the
> _end_user_ to install the software? Ideally, one should be able to
> download a file, double click on it and then open a web-browser and
> has it ready under some address.


I think Adobe's solution is:
http://www.adobe.com/products/livecycle/

Arne


Arne Vajhøj
  Reply With Quote
Old 11-03-2009, 03:21 AM   #3
markspace
 
Posts: n/a
Default Re: Flash interface with business logic in JAVA?
tnorgd wrote:

> 2) So far the Java part runs as a stand-alone application. It will be
> set up on an application server, but we need also a version for client
> in-house installation. How to make it as easy as possible for the
> _end_user_ to install the software? Ideally, one should be able to
> download a file, double click on it and then open a web-browser and
> has it ready under some address.



How about Drag To Install?

<http://channelsun.sun.com/video/demo:+drag-to-install/3864273001>


markspace
  Reply With Quote
Old 11-03-2009, 09:02 AM   #4
ck
 
Posts: n/a
Default Re: Flash interface with business logic in JAVA?
On Nov 3, 7:53*am, tnorgd <tno...@gmail.com> wrote:
> Hi,
>
> I need to prepare a web-based interface for a Java application. One of
> the options is to make an applet, but we also consider a Flash movie
> clip. So here are my questions:
>
> 1) What is the easiest way for Flash to talk to Java process? I've
> found about some XML-based solutions but it looks a little messy... Is
> there any better option?


If you are looking for a typical web application, where client
interacts via browser, flex should fit in good. Although, using xml
for client server interaction is a standard practice. If you find it
messy, I would say its matter of getting use to the paradigm. Using
XML for interaction is what adobe flex advocates. Take a look at
http://www.adobe.com/products/air/develop/flex/
Browser would need Flash player installed.

> 2) So far the Java part runs as a stand-alone application. It will be
> set up on an application server, but we need also a version for client
> in-house installation. How to make it as easy as possible for the
> _end_user_ to install the software? Ideally, one should be able to
> download a file, double click on it and then open a web-browser and
> has it ready under some address.


If you are looking for a standalone desktop application which can run
without browser, then take a look at adobe air http://www.adobe.com/products/air/
Client would need adobe air runtime for this.
--
Ck
http://chandankumar.com


ck
  Reply With Quote
Old 11-03-2009, 11:56 AM   #5
Richard Maher
 
Posts: n/a
Default Re: Flash interface with business logic in JAVA?
Hi Dominik,

"tnorgd" <> wrote in message
news:f86df907-7c42-4562-95ee-...
> Hi,
>
> I need to prepare a web-based interface for a Java application. One of
> the options is to make an applet, but we also consider a Flash movie
> clip. So here are my questions:
>
> 1) What is the easiest way for Flash to talk to Java process? I've
> found about some XML-based solutions but it looks a little messy... Is
> there any better option?


I realy, realy suggest using Javascript as the glue between your Java
Applets and you Flex/MXML.

Look up the Adobe "FABridge" functionality. I used to have IMnsHO a very
good example of a web-page using an Applet-based TCP/IP socket in Javascript
to populate a Flex DataSource/Collection. (Well I still have it but alas it
is no longer publicly hosted )

Anyway this *is* the mut's nuts! JAVA objects? Flex objects? Javascript does
it all!

Sadly, the web available examples were done away with when Adobe (in all its
wisdom) said "It's in the FlexBuilder product; get it there"
>
> 2) So far the Java part runs as a stand-alone application. It will be
> set up on an application server, but we need also a version for client
> in-house installation. How to make it as easy as possible for the
> _end_user_ to install the software? Ideally, one should be able to
> download a file, double click on it and then open a web-browser and
> has it ready under some address.
>
> Many thanks for help,
> Dominik


Cheers Richard Maher

PS. Silverlight also has a HTML Bridge (I think that's what it's called?)
and also gives you Socket access(1)

1. Sockets of a fashion. Nothing gives you the browser-based, (almost)
full-blown TCP/IP Socket access that JAVA does! Then there's also UDP! (and
why can't unsigned applets receive muticast messages via an unsigned
applet?)




Richard Maher
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco ASA 5505 not permitting SSH/HTTPS aphex Hardware 1 05-16-2008 12:39 AM
Use Flash or Not? DemoDisk Computer Support 13 01-18-2008 02:56 PM
Internet networking , group networking,business leads,new business opportunities,like having many sales peoples elie Computer Support 0 08-18-2007 11:12 AM
PPPoE issue on Cisco 2801 router paleogryph Hardware 0 08-08-2006 04:57 PM
Illegal operation carololine Computer Support 12 07-14-2006 01:27 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46