Re: [JBoss-user] REPOST: JBossNet can't work w/ secured EJBs ???

2003-10-31 Thread Fred Hartman
I haven't used JBossNet, but from your exception it looks to me that 
Auth info isn't getting sent by your client.

I would assume you are talking HTTP to JBoss, which means the HTTP login 
would setup the JAAS context. If there is no auth passed, then no principle.

1. Most clients (.NET, GLUE) have a specific flag or property to set 
which gets them to send the HTTP auth info.

2. Use a HTTP Snooper to see what HTTP headers are really getting sent.

3. Some Web Service clients just won't send auth info until there is a 
specific auth HTTP error state returned. The HTTP trace will tell you 
exactly what HTTP states are being returned before the EJBException is 
thrown.

HTH,
Fred
Bates, Alex wrote:

I am having a strange problem trying to expose secured EJBs as web
services
in JbossNet (using Jboss 3.2.1).  Everything deploys fine.  But when I
call
one of the web service methods, I get this exception (intermittently):
javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
Authentication exception, principal=null 

Is anyone else on the planet trying to expose secured EJBs as web
services?
(or EJBs that must use secured EJBs)?  Or is this too cutting edge?
*I thought the JSR Web Services for J2EE said it was excluding security,
so
don't know why JBossNet is trying to enforce security in the web service
layer (no way for web service client to establish security context!)
-Alex

---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Message to User about JBoss Startup Complete

2003-07-24 Thread Fred Hartman
See the JMX message org.jboss.system.server.Server.START_NOTIFICATION_TYPE.
The MBean would look something like this:


import org.jboss.system.server.Server;
import javax.management.Notification;
import javax.management.NotificationFilter;
import javax.management.NotificationListener;
import org.jboss.system.ServiceMBeanSupport;

public class ServerLoadDetector extends ServiceMBeanSupport
  implements ServerLoadDetectorMBean,
  NotificationFilter, NotificationListener
{
  boolean state = false;

  //
  // MBean read only attribute
  // @jmx:managed-attribute
  //
  public boolean isStarted() 
  {
return state;
  }

  //
  //  NotificationFilter, NotificationListener Implementations
  //
  public boolean isNotificationEnabled(Notification n)
  {
return (Server.START_NOTIFICATION_TYPE.equals(n.getType()));
  }
  public void handleNotification(Notification n, Object handback)
  {
// set an attribute that can be remotely introspected
  state = true;
  }
}

-Original Message-
From: julien viet [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 9:02 AM
To: Muraly R
Subject: Re: [JBoss-user] Message to User about JBoss Startup Complete


The started field could be added as an attribute on the
ServerImplMBean mbean.

Actually there is no way to know,
though it is possible to know when the server starts because it sends a JMX
notification at this moment.

julien


MR> Hi Gurus,
MR> Objective
MR> 
MR> Since my web server and all other services start prior to JBoss, I want
to 
MR> provide a notification to user through the web UI, saying that the
services 
MR> are starting, if the user tries to access the application before the
App. 
MR> server is up.

MR> To Know
MR> ===
MR> What I wanted to know is, is there any API exposed from which we can
know 
MR> about the JBoss server startup. So I can access this API at regular 
MR> intervals from UI, and re-direct the URL once the JBoss start has
completed 
MR> successfully.

MR> Thanks
MR> Muraly



MR> ---
MR> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
MR> Data Reports, E-commerce, Portals, and Forums are available now.
MR> Download today and enter to win an XBOX or Visual Studio .NET.
MR>
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
MR> ___
MR> JBoss-user mailing list
MR> [EMAIL PROTECTED]
MR> https://lists.sourceforge.net/lists/listinfo/jboss-user



-- 
Best regards,
 julienmailto:[EMAIL PROTECTED]



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBoss & Log4J

2003-02-17 Thread Fred Hartman
Maybe your should call your appender "MyAppConsole", rather than reusing the
name CONSOLE.

-Fred

-Original Message-
From: Corbin, James [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 10:51 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] JBoss & Log4J



Is this accurate or am I missing something?

I specified my own configuration using the configure api and that is when I
got conflicts with the JBOSS console appender.

??? Please advise?

J.D.

-Original Message-
From: Anders Engström [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 2:23 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss & Log4J

On Sun, Feb 16, 2003 at 03:25:14PM +0200, Zeev B wrote:
> The Log4j javadocs state that calling the configure method will not effect
> the current configuration (to do that you should call the
resetConfiguration
> method first).

That's interesting! I didn't know that :) This way we could have the
application specific logging configuration separated from JBoss. Thanks
:)

//Anders

> - Original Message -
> From: "Anders Engström" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 14, 2003 4:49 PM
> Subject: Re: [JBoss-user] JBoss & Log4J
> 
> 
> On Fri, Feb 14, 2003 at 10:17:22AM +0200, Alexopoulos Dimitris
> ([EMAIL PROTECTED]) wrote:
> > Hello All!
> >
> > Couldn't you create a class that instantiates a Log4j Logger of your
own?
> > This way you could use log4j's method
> >
> > PropertyConfigurator.configure("pathToYourLog4jConfigFile");
> >
> > and read always your configuration. Is it necessary to use the JBoss
> logger?
> > Excuse me if I have misunderstood something... ;-)
> >
> 
> That would result in your configuration (pathToYourLog4jConfigFile)
> replacing the JBoss one - and every other previously configured loggers
> initiated from other deployed applications.
> 
> //Anders


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
This electronic message transmission contains information from the Company
that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity
named above.  If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of
this information is prohibited.  If you have received
this electronic transmission in error, please notify the sender immediately
by replying to the address listed in the "From:" field.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Open WAR directory undeploy fails

2003-02-12 Thread Fred Hartman
It may be due to this JVM bug fixed in 1.3.1_07

4523757
The javac compiler explicitly closes ZipFile objects allowing those resource
to be reclaimed.
from http://java.sun.com/j2se/1.3/ReleaseNotes.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M
Stark
Sent: Wednesday, February 12, 2003 4:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Open WAR directory undeploy fails


Also, no unpacked deployments are copied into the tmp directory. So the
question is who is keeping the Some.war/WEB-INF/lib/jaxp.jar open. Is
it the web container or is it the VM. There have been issues with the VM
holding onto jars on win32 but I don't know what the latest VMs behavior
is so include the info in any bug report.


Scott Stark
Chief Technology Officer
JBoss Group, LLC


- Original Message -
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 12:40 PM
Subject: Re: [JBoss-user] Open WAR directory undeploy fails


> Its upto the web container how it deals with the contents of the
deployment.
> JBoss does not look into wars so the issue is how Jetty or Tomcat are
> using the jars. Apparently they are used as is and are incurring the win32
> locking on the deployed jar. File a bug report on sourceforge.
>
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
>
> - Original Message -
> From: "Sebastian Hauer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 12, 2003 11:33 AM
> Subject: [JBoss-user] Open WAR directory undeploy fails
>
>
>
> Hi,
>
> I have an web application in a open WAR directory structure.  When ever
> I try to undeploy this WAR directory while trying to remove it the
> system seams to hold on to:
>
> Some.war/WEB-INF/lib/jaxp.jar
>
> I would probably get away without jaxp.jar in this war but I wonder why
> I can't remove this files. This happens with JBoss 3.0.5 and Jetty under
> Windows.
> I was under the impression that JBoss would copy all jar files into it's
> tmp directory to avoid situations like this.
>
> Sebastian
>
>
>
>
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Increase memory originally allocated to running JBoss

2003-01-20 Thread Fred Hartman
If you are using jboss/run/run.bat or run.sh to startup JBoss, set the
JAVA_OPTS environment var to the desired size.
-Xmxset maximum Java heap size

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Stortz
Sent: Monday, January 20, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Increase memory originally allocated to running
JBoss


We have a memory leak, which I believe is in our EJB.  JBoss usually runs
fine for about 3 or 4 days, then it croaks with out of memory error.  I
would like to
know how to allocate more memory at startup time.  I suspect it can be
inserted as
one of the parameters in the startup scripts.

Thanks!

Jason

Disclaimer:
Please don't tell me that's the wrong way to take care of the problem.  My
vote is to
just find the issue and fix it, but the webmaster is begging me to find a
way to increase
memory to buy him some time.


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

<>

RE: [JBoss-user] Re: WANTED: Lead JBoss Developers

2003-01-15 Thread Fred Hartman
Title: RE: [JBoss-user] Re: WANTED: Lead JBoss Developers




This is 
just as good and still there for those interested in the Management 
Console:
http://www.jboss.org/forums/thread.jsp?forum=160&thread=26785
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Bill 
  BurkeSent: Wednesday, January 15, 2003 4:30 PMTo: 
  [EMAIL PROTECTED]Subject: RE: [JBoss-user] Re: 
  WANTED: Lead JBoss Developers
  Postnuke php website is no more.  We had to nuke it because it 
  nuked our computer and switch back to the gold old JBossWeb/JBoss 
  website.
  

  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Herve 
  TchepannouSent: Wednesday, January 15, 2003 3:06 PM  To: 
  [EMAIL PROTECTED]Subject: RE: [JBoss-user] Re: 
  WANTED: Lead JBoss Developers
sorry but your link doesn't work 
-Original Message- From: 
Fred Hartman [mailto:[EMAIL PROTECTED]] 
Sent: 15 January 2003 15:07 To: 
[EMAIL PROTECTED] Subject: RE: 
[JBoss-user] Re: WANTED: Lead JBoss Developers 
There is a very cool tool started by Sacha Labourey 
[[EMAIL PROTECTED]]. See: 
http://www.jboss.org/modules.php?op=modload&name=phpBB_14&file=index&action=""> 
viewtopic&topic=26785&2 
You also should read the comments in the "RE: [JBoss-dev] 
MBean persistence?" thread for additional feature 
discussions that could generate a todo list. 

Cheers, Fred 
-Original Message- From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
Behalf Of Edgar Silva Sent: Wednesday, January 15, 
2003 2:47 PM To: 
[EMAIL PROTECTED] Subject: 
[JBoss-user] Re: WANTED: Lead JBoss Developers 
Hi 
 Me and a group of friends, would like to develop a 
Console web-based to JBoss. Not equals 
Jmx-console.  We wanna create a console where 
the user can be able to deploy files, deplopy 
configurations, change descriptors, like console of other comercial 
Application Servers.  Hava one 
special project to this, where we can join...If thue where can I 
find addtional informations? 
 Best Regards... 
Edgar 
--- 
This SF.NET email is sponsored by: A Thawte Code Signing 
Certificate is essential in establishing user 
confidence by providing assurance of authenticity 
and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en 
___ 
JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user 

--- 
This SF.NET email is sponsored by: A Thawte Code Signing 
Certificate is essential in establishing user 
confidence by providing assurance of authenticity 
and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en 
___ 
JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user 



RE: [JBoss-user] Re: WANTED: Lead JBoss Developers

2003-01-15 Thread Fred Hartman
There is a very cool tool started by Sacha Labourey
[[EMAIL PROTECTED]]. See:

http://www.jboss.org/modules.php?op=modload&name=phpBB_14&file=index&action=
viewtopic&topic=26785&2

You also should read the comments in the "RE: [JBoss-dev] MBean
persistence?" thread for additional feature discussions that could generate
a todo list.

Cheers,
Fred

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Edgar Silva
Sent: Wednesday, January 15, 2003 2:47 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Re: WANTED: Lead JBoss Developers


Hi

 Me and a group of friends, would like to develop a Console web-based to
JBoss. Not equals Jmx-console.
 We wanna create a console where the user can be able to deploy files,
deplopy configurations, change descriptors, like console of other comercial
Application Servers.
 Hava one special project to this, where we can join...If thue where can I
find addtional informations?

 Best Regards...

Edgar


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Remote Shutdown of JBoss Server

2003-01-02 Thread Fred Hartman
Title: Remote Shutdown of JBoss Server



You 
can turn on security in the jmx-console.war. Look at the files in WEB-INF for 
details.
 
-Fred

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of JD 
  BrennanSent: Thursday, January 02, 2003 1:20 PMTo: 
  '[EMAIL PROTECTED]'Subject: RE: [JBoss-user] Remote 
  Shutdown of JBoss Server
  One way would be to turn off the jmx-console 
  by deleting the jmx-console.war
  in the deploy 
  directory.
   
  JD
   
  -Original Message-From: FLYNN, Peter -Syntegra UK 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 02, 2003 
  9:08 AMTo: Jboss-User (E-mail)Subject: [JBoss-user] 
  Remote Shutdown of JBoss Server
  Hi, 
  I've noticed that the scripts allow you to specify another 
  server as a parameter and shut it down. Is there a way 
  to stop anyone remotely shutting down the JBOSS server when they use the 
  shutdown.bat command file? 
  Regards, Peter This 
  email may contain information which is privileged or confidential. If you are 
  not the intended recipient of this email, please notify the sender immediately 
  and delete it without reading, copying, storing, forwarding or disclosing its 
  contents to any other personThank youCheck us out at 
  http://www.syntegra.com


RE: [JBoss-user] Testing EJB's

2002-12-11 Thread Fred Hartman
There is an example in the jboss/testsuite/buid.xml of an ANT target
that starts up JBoss, runs JUnit tests and then shutsdown JBoss.

Note that this stuff hangs on Windows because of pause commands in the
bat files launched in the background (unless fixed in the last couple
weeks) and the shutdown command not only has a non-backward compatible
arg format between 3.0.x and 3.2.x, but there are limitations on the JVM
the server is compiled with and running with - I believe due to Java's
godawful serialization ids. 

Not the same JVM as JUnit, but the next best thing for automated tests.
I can give more info on how I used this stuff if you are interested.
 
-Fred

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Dain
Sundstrom
Sent: Wednesday, December 11, 2002 12:29 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Testing EJB's

If you want to test in JBoss, you will need to have JBoss running 
somehow.  Unless you are running on a very old machine, the JBoss start 
up should be start fairly quickly (under 30 sec).  I usually just leave 
a JBoss instance running, and test over and over again.

-dain

On Wednesday, December 11, 2002, at 11:15 AM, Jim Crossley wrote:

> Thanks, Dain.  At first, I was encouraged by your reply, so I checked
> out the source, but it doesn't address my needs.  At least, the branch
> I checked out (3.0 and jboss-head) could not run the testsuite
> successfully without first firing up JBoss.
>
> I want to be able to test my CMP's in an in-memory, lightweight EJB
> container that I can somehow quickly bootstrap from my JUnit
> testrunner.  The CMP's would persist for the duration of the tests in
> the in-memory Hypersonic database.  Perhaps EJB's are so resource
> intensive that something like this isn't feasible?
>
> -- Jim
>
> Dain Sundstrom <[EMAIL PROTECTED]> writes:
>
>> Jim,
>>
>> How do you think we test JBoss?  Take a look at the CMP tests in the
>> testsuite.  We have an addon to JUnit that can deploy and undeploy
>> applications.  Also we have a tool that can run the tests on the
>> server side like (I wrote this to test local interfaces), but does
not
>> require a servlet tier.
>>
>>
>> -dain
>>
>>
>> On Tuesday, December 10, 2002, at 02:23 PM, Jim Crossley wrote:
>>
>>> These are good points, and I appreciate yours and others' prompt
>>> replies.  However, the solutions presented so far seem to force me
>>> to complicate my object model to facilitate testing.
>>
>>>
>>> I agree that an app that is difficult to test probably suffers from
>>> poor design, but web apps by their very nature are difficult to
test.
>>
>>>
>>> The app I'm currently working on is very CRUD-ish; it does simple
>>> read/write maintenance on a bunch of related objects.  I don't want
>>> the web tier to access the Entity beans directly -- this would
>>> violate the transactional requirements -- so they go through a
>>> Session Facade. Creating additional POJO's through which the session
>>> beans interact with the entities only adds an unnecessary layer of
>>> complexity IMHO.
>>
>>>
>>> The app is currently implemented using OJB, and I'm interested in
>>> refactoring it to use CMP EJB's, which IMHO are much easier to
>>> create and maintain (with Xdoclet, of course) than OJB.
>>
>>>
>>> The big benefit of using OJB, however, is that a user can easily
>>> test the entire app from end-to-end without deploying or even
>>> interacting with an external resource.  This is possible with
>>> Hypersonic's in-memory database.  It got me thinking that an
>>> in-memory EJB container would be just as cool.
>>
>>>
>>> JBoss is architected so well that I figured there must be a way to
>>> do it.  I'm currently trying to add enough stuff to the minimal
>>> configuration to support the deployment of EJB's, and then I'll see
>>> if it's not possible to invoke that configuration from the setup of
>>> my JUnit test runner.
>>
>>>
>>> Does anyone else think this is possible or even worth pursuing?
>>>
>>> -- Jim
>>>
>>> Demyanovich, Craig - Apogent wrote:
 Jim,
 I currently do not unit test either Entity or Session Beans.
 Entity Beans
>>
 are trivial to write, and I trust that the application server will
 persist
>>
 them as advertised.  To unit test Session Beans would require that
 they be
>>
 deployed.  Since deployment complicates unit testing and
 complicated or
>>
 difficult unit tests suggest that the design could be done
 differently/better, I design Session Beans to be controllers of a
 number of
>>
 collaborating objects.  These objects are simply business objects 
 that
 encode the business logic of the system.  Since they are plain Java
 classes,
>>
 I can unit test them very easily.
 Consider a message-driven bean.  As I generally design them, MDBs
 receive a
>>
 message, hand it to a parser, hand the results of parsing to other
 objects
>>
 that do something with the message