From owner-freebsd-java@FreeBSD.ORG Tue Dec 2 21:01:20 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BD9316A4CE for ; Tue, 2 Dec 2003 21:01:20 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 526E843F85 for ; Tue, 2 Dec 2003 21:01:18 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1ARQDB-00033l-00; Wed, 03 Dec 2003 12:10:09 +0600 Received: from iclub.nsu.ru ([193.124.215.97] ident=root) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1ARQD9-00032p-00; Wed, 03 Dec 2003 12:10:07 +0600 Received: from iclub.nsu.ru (fjoe@localhost [127.0.0.1]) by iclub.nsu.ru (8.12.8p2/8.12.8) with ESMTP id hB350xx3079466; Wed, 3 Dec 2003 11:00:59 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.12.8p2/8.12.8/Submit) id hB350wuC079465; Wed, 3 Dec 2003 11:00:58 +0600 (NS) (envelope-from fjoe) Date: Wed, 3 Dec 2003 11:00:58 +0600 From: Max Khon To: Alden Taylor Message-ID: <20031203050058.GC76490@iclub.nsu.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Envelope-To: alden@addcontentnow.com, freebsd-java@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: JDK BSD NewBee X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 05:01:20 -0000 Hello! On Tue, Dec 02, 2003 at 04:26:05PM -0700, Alden Taylor wrote: > I'm a BSD newbie with a couple of simple questions. > > Does the 1.4 jdk implementation implement the hotspot optimizer? And > are the threads green or native - and what is the difference? I've > read that the jdk1.3 binary does not implement hotspot and uses green > threads and I'm trying to decide if upgrading to the jdk 1.4 will > improve my servlet application's performance. There is no way to build jdk 1.4 with green threads or without hotspot-like optimizer. So jdk 1.4 always usese native threads and JIT compiler. > Also, I've noticed that there are ports for things like tomcat and > other java third party extensions. Can anyone tell me the difference > between the ports version and those that I would download from say > jakarta.apache.org? I've compiled mod_jk from the apache source using > the mac os X compile instructions, as those were the only that I could > get to work, will my compiled mod_jk work better if I use the ports? > I'm new to the ports system as I come from the land of RedHat LInux and > Mac OS X. Ports is just an infrastructure to help you to build and install software. Tarballs are downloaded from official distribution sites and necessary patches are applied (if any are needed). It's up to you whether to use or not use ports subsystem but most of the problems you can stumble upon building the same software manually are already solved on ports. Ports are like RedHat SRPMS. There are several ports of Ports Subsystem to Darwin (the base of MAC OS X), the most popular of which is GNU-Darwin Ports Collection so you might have seen Ports on MAC OS X already. /fjoe