From owner-freebsd-java@freebsd.org Fri Sep 23 07:36:06 2016 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84819BE6A28 for ; Fri, 23 Sep 2016 07:36:06 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from so.liwest.at (so.liwest.at [212.33.55.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49147143E for ; Fri, 23 Sep 2016 07:36:06 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=liwest.at; s=20140502; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=rxO6Cap8bgAYsO0Dou9sH6q10zbq4K4nVKjpOgK/DjQ=; b=O93xU1lsKzXLsYTbgmpg5rY3DiyvmFRibBa2rsAPpofWtWWumDzuqOGLaKNZmajkrQSyYiUtbzNQefhmR2skfTlZf6T3gAPVZ9SCmgbmxnWUi1uD99QDNYMjD5XWkaRZFgECGjEwFiATJ1mp4XeBK7oHiApsSy154gm5sEjcdH26N8vhmIpNxBRoi2pqDu4ijrOlP8oikO0l3Uug8pcfW8uE/eb/7huNPgIAeH8oAZjczmSiUE5Dq/eXKrFAGdnTqDtPMKxA1gAw1/1V03g0VeeZF1aHN1664Z0QNavJP/KQR+EhRzyAseoH3XWpe7ITaxYVSp41CfcBo8TUewwt5A==; Received: from [77.119.241.160] (helo=[192.168.31.10]) by so.liwest.at with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1bnL1f-0004Ml-KH; Fri, 23 Sep 2016 09:36:03 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Running a Java application on the host in a browser From: =?utf-8?Q?Horst_Leitenm=C3=BCller?= In-Reply-To: <20160923071430.GA2401@c720-r292778-amd64> Date: Fri, 23 Sep 2016 09:35:55 +0200 Cc: freebsd-java@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160922130249.GA4802@c720-r292778-amd64> <20160923071430.GA2401@c720-r292778-amd64> To: Matthias Apitz X-Mailer: Apple Mail (2.3124) X-Spam-Score: -1.0 (-) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 07:36:06 -0000 hi, depending on your needs if the client is whatever firefox / request via = json / =E2=80=A6 or a fat client real Swing application=20 and server is a web service base solution or RMI then you can run the = server without X11 just a few libraries are needed tomcat is normally for web requests via http therefore you would not = need the X11 only the libraries how do you start the client app ? is it a standalone ? (=3D Swing client) is the access via http browser ? for me it sounds like a fat client, then you have not the chance to run = it on the host=E2=80=A6 but explain a little bit more, perhaps i can help you br horst > On 23 Sep 2016, at 09:14, Matthias Apitz wrote: >=20 > El d=C3=ADa Friday, September 23, 2016 a las 08:36:12AM +0200, Andrea = Venturoli escribi=C3=B3: >=20 >> On 09/22/16 15:02, Matthias Apitz wrote: >>>=20 >>> Hello, >>>=20 >>> We have some applications written in Java and which are running = (normally) on a >>> Windows PC or any kind of workstation in a Java VM. What I'm = wondering about, if >>> it is somehow possible run the app on the host and the window within = some >>> browser plugin, i.e. the picture and keyboard is sent over some kind = of >>> protocol between the Java app -- tomcat -- browser/plug-in, in the = style >>> like RDP. Have never been any attempts to create such method? >>=20 >> What about X11? >=20 > No. This requires an X11 server and is much more than just a browser. >=20 > matthias > --=20 > Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 = http://www.unixarea.de/ =E2=98=8E +49-176-38902045 > "Ohne die Mauer h=C3=A4tte es Krieg gegeben" Fritz Streletz u.a. > "Sin el Muro hubiese habido guerra." > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org"