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


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

Re: JWS question

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: JWS question
Date 2016-03-16 21:32 -0400
Organization Aioe.org NNTP Server
Message-ID <ncd1g1$13a8$2@gioia.aioe.org> (permalink)
References <ncchip$d1n$2@dont-email.me> <nccsq3$u27$1@gioia.aioe.org> <ncd0ga$4f0$1@dont-email.me>

Show all headers | View raw


On 3/16/2016 9:18 PM, Rhino wrote:
> On 3/16/2016 8:12 PM, Arne Vajhøj wrote:
>> On 3/16/2016 5:03 PM, Rhino wrote:
>>> Can I run a JavaFX program as a JWS (Java WebStart) or do I have to
>>> stick to Swing/AWT for GUIs in JWS programs?
>>>
>>> I'm not sure where to look for that information....
>>
>> I cannot see why you should not be able to do so.
>>
>> http://docs.oracle.com/javafx/2/get_started/basic_deployment.htm
>>
>> seems to confirm that you indeed can.
>>
>> Arne
>>
>>
> Thanks Arne.
>
> I think I'm going to write a Hello World in JavaFX and then see if I can
> get it running on my other laptop. That should prove it one way or the
> other with a minimum of effort.
>
> The other thing I'd love to confirm is whether a JavaFX in a JWS
> environment can do database access. I have some data in a DB2 database
> that I want my JavaFX app to be able to access from whatever computer it
> is on. (I might move the data to a MySQL database on a public server for
> my real application.)

I believe you can.

By signing the jar and add permissions to the JNLP.

http://docs.oracle.com/javase/8/docs/technotes/guides/javaws/developersguide/development.html#security

Arne

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


Thread

JWS question Rhino <no_offline_contact@example.com> - 2016-03-16 17:03 -0400
  Re: JWS question Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 20:12 -0400
    Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-16 21:18 -0400
      Re: JWS question Arne Vajhøj <arne@vajhoej.dk> - 2016-03-16 21:32 -0400
        Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-17 08:43 -0400
  Re: JWS question Eric Douglas <e.d.programmer@gmail.com> - 2016-03-17 04:52 -0700
    Re: JWS question Rhino <no_offline_contact@example.com> - 2016-03-17 08:42 -0400

csiph-web