> From: [EMAIL PROTECTED]
> Reply-To: "Research Triangle Java User's Group mailing
> list."<[EMAIL PROTECTED]>
> Date: Wed, 23 Jun 2004 09:33:38 -0400
> To: [EMAIL PROTECTED] ("Research Triangle Java User's Group mailing list=
.")
> Subject: Re: [Juglist] JBoss questions
>=20
> Thanks a lot, Hugh. I have few remaining questions regarding JBOSS 3.2.x=
.
>=20
> 1. Easy configuration o multiple, independent application spaces.
That=B9s fairly simple if you want to run multiple VMs. Admittedly less
simple (yet possible) if you want to do it in the same VM. So the principa=
l
problem is the JBoss classloader mechanism defaults to a shared repository.
This is overridable on a per application basis, though admittedly it could
be a minor admin headache in the event users don't practice due diligence.
The solution is probably one of either very simple scripts or custom
deployers. In either 3.2.4 (I don't know if it made it into the release) o=
r
future release of JBoss, we'll have "stupidDeployer" which will
automatically set up separate class loader scopes for every deployment. It=
s
"stupid" because it will also have to set up the ByValueInvokerInterceptor
(meaning using remote interfaces will actually mean pass-by-value which is
10-100x slower). This is how other appservers behave, but it is terribly
inefficient and isn't really the route you want to go for highly efficient
24x7 uptime production systems. However, I suppose it will make developmen=
t
environments simpler.
> 2. Individual developer instances that run on a variety of platforms.
>
That=B9s simple. Download it. Unzip it. run bin/run.sh or bin/run.bat.
(assuming the JDK is installed, in your path with JAVA_HOME set and on
windows with no spaces in the path ;-) )
=20
-Andy
> Thanks
> Anu
>=20
> Hugh Allen <[EMAIL PROTECTED]> wrote:
>=20
>> Anu,
>>=20
>> 1) I am not using web services, so I can't help with this one.
>>=20
>> 2) The JBoss business model is that you have to PAY for support and for
>> training. In my case the cost is prohibitive for both, so I am on my own=
.
>> This is the main reason I wish the JBoss documentation was a LOT better.
>>=20
>> 3) I am using CMP 2.0 entity beans for ALL of my database interaction. C=
MP
>> 2.0 is a beautiful thing, since I just have to write some very simple SQ=
L in
>> the deployment descriptors. But the tradeoff is less control. My
>> understanding is that JDBC or JDO could provide more control, at the exp=
ense
>> of code complexity. I am very pleased with CMP 2.0.
>>=20
>> You can control JBoss interaction with the database to some extent, depe=
nding
>> on your technical requirements, by specifying loading parameters in your
>> deployment descriptors. As I understand it, by default JBoss retrieves t=
he
>> key values for each query and the goes back and retrieves the actual row=
s of
>> data later, one by one, as required. However, you can tune this behavior=
.
>> JBoss supports:
>> - load groups (which columns are read)
>> - read-ahead - on-find and on-load (which rows are read in a single requ=
est)
>> - various commit options that determine whether how data can be cached
>> (depending on whether JBoss has control over ALL database updates)
>> - transaction options
>> - locking options
>>=20
>> 4) If you are referring to dynamic loading of EAR files (including WAR a=
nd
>> JAR files), this seems to be one of the BEST features of JBoss. Just dro=
p a
>> new EAR file in the JBoss server's deploy directory and it will be deplo=
yed
>> automatically. This works great. I haven't used the other major EJB
>> containers, but I understand they don't have this feature.
>>=20
>> Hugh
>>=20
>> At 04:09 PM 6/21/2004, you wrote:
>>=20
>>> Thanks a lot to Phillip Rhodes and Hugh Allen for their invaluable insi=
ghts.
>>> =A0Please do comment on the following questions regarding JBoss 3.2.x
>>>=20
>>> 1. Easy implementation of Web Services
>>> 2. Quality of technical response/support
>>> 3. Efficient CMP communication with selected database (i.e. is the SQL
>>> optimized prior to submission or is there lots of =A0interaction with the
>>> database )=20
>>> 4. Dynamic loading of new files
>>>=20
>>> Thanks in advance
>>>=20
>>> Anu
>>>=20
>>>=20
>>> Hugh Allen <[EMAIL PROTECTED]> wrote:
>>>=20
>>>> I have been using JBoss for less than a year, so I am no expert. The
>>>> learning curve is pretty steep for both J2EE and JBoss.
>>>>=20
>>>> Phillip Rhodes replied separately to your email, and I generally agree=
with
>>>> his comments.
>>>>=20
>>>> 1) I believe JBoss supports all of the important parts of J2EE, and ea=
ch
>>>> release has more functionality. It has everything I need, and the pric=
e is
>>>> right.
>>>>=20
>>>> 2) I haven't used load balancing or clusters.
>>>>=20
>>>> 3) The JBoss forums have a lot of information. By contrast, the
>>>> documentation, which costs $10, is not particularly good. It explains =
a lot
>>>> about how JBoss works internally, particularly the JMX aspects, but it=
is
>>>> not very readable and does not contain a lot of "how to" information t=
hat
>>>> is useful for new developers.
>>>>=20
>>>> Since it is open source, it always seems like the JBoss folks actually
>>>> expect you to read the source code to answer your questions. After all=
,
>>>> that's what THEY do. I have had to do this on at least one occasion, a=
nd
>>>> it's not a great way of figuring out what is going on.
>>>>=20
>>>> 4) The JMX console is not very intuitive. The best source of informati=
on to
>>>> figure out what is going on in the server is the log files.
>>>>=20
>>>> 5) I can't provide any real details on database connection pooling. I =
am
>>>> using MySQL with InnoDB tables and performance seems pretty good, but =
I
>>>> don't yet have much load on my current applications.
>>>>=20
>>>> 6) I have two Linux web servers running JBoss - both located in the sa=
me
>>>> data center in New York state.
>>>>=20
>>>> The test web server is running Red Hat 9 with User Mode Linux, where t=
he
>>>> machined is partitioned to support around 20 customers. (See
>>>> www.rimuhosting.com) Originally, my partition had 128MB of RAM to supp=
ort
>>>> Linux, JBoss, Jetty, Apache, and MySQL. I was getting constant out of
>>>> memory errors. Increasing this to 192MB RAM solved the problem, but th=
is
>>>> machine is pretty slow, as you might expect.
>>>>=20
>>>> Just set up a new dedicated server running White Box Enterprise Linux =
3
>>>> with 1GB RAM. This machine is not currently running Apache or Jetty - =
it
>>>> uses the embedded JBoss/TomCat instead. This configuration is much fas=
ter
>>>> and response times are quite good.
>>>>=20
>>>> Regards, Hugh
>>>>=20
>>>> At 01:16 PM 6/21/2004, [EMAIL PROTECTED] wrote:
>>>>=20
>>>>> Hi
>>>>>=20
>>>>> I have a couple of questions related to JBOSS 3.2.x. =A0
>>>>>=20
>>>>> 1. Does JBOSS 3.2.x support J2EE 1.3 fully?
>>>>> 2. Is it easy to configure additional load balancing servers?
>>>>> 3. Good Usenet group support?
>>>>> 4. Does it provides application monitoring tool?
>>>>> 5. How efficient is database connection pooling?
>>>>> 6. Required CPU and RAM?
>>>>>=20
>>>>> Thanks in advance
>>>>>=20
>>>>> Anu
>>>>>=20
>>>>> __________________________________________________________________
>>>>> Introducing the New Netscape Internet Service.
>>>>> Only $9.95 a month -- Sign up today at http://isp.netscape.com/regist=
er
>>>>>=20
>>>>> Netscape. Just the Net You Need.
>>>>>=20
>>>>> New! Netscape Toolbar for Internet Explorer
>>>>> Search from anywhere on the Web and block those annoying pop-ups.
>>>>> Download now at http://channels.netscape.com/ns/search/install.jsp
>>>>>=20
>>>>> _______________________________________________
>>>>> Juglist mailing list
>>>>> [EMAIL PROTECTED]
>>>>> http://trijug.org/mailman/listinfo/juglist_trijug.org
>>>>>=20
>>>>>=20
>>=20
>>=20
>=20
> __________________________________________________________________
> Switch to the New Netscape Internet Service.
> As low as $9.95 a month -- Sign up today at http://isp.netscape.com/regis=
ter
>=20
> Netscape. Just the Net You Need.
>=20
> New! Netscape Toolbar for Internet Explorer
> Search from anywhere on the Web and block those annoying pop-ups.
> Download now at http://channels.netscape.com/ns/search/install.jsp
>=20
> _______________________________________________
> Juglist mailing list
> [EMAIL PROTECTED]
> http://trijug.org/mailman/listinfo/juglist_trijug.org
_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org