Hi Andreas,

Actually, I just checked on the HiveMind Utilities web page and most
information is already there (I just updated it a little bit in my reply and
put a bit more details). As a matter of fact, the home page describes each
available module (hivetranse, hiveutils, hivelock...) in more detail to give
an overview of what you could use it for. I will add more details to this
page though, and I will put links to the quick start or the javadoc/hivedoc
to find more details on some specific points.

What about a hivetranse wiki? Actually, I must admit I didn't even think
about it! The fact is I am not acquainted with the setup of a wiki site (I
don't even know where I can download wiki).

I will try to take a look at that this week-end.

Ah, one interesting point I forgot about HiveLock, it allows you to create
"Stateful Session Beans" (if I dare use the EJB vocabulary), ie,
HiveMind-managed services that have one instance for each connected user.
This is accessible through a new HiveMind Service Model (named "user") that
you use instead of the other standard ones (singleton, primitive, threaded,
and pooled). Very straightforward to apply.

Cheers

Jean-Francois


-----Original Message-----
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Friday, April 14, 2006 6:49 AM
To: Tapestry users
Subject: Re: HiveUtils/HiveLock howto

Hi Jean-Francois,

thanks a lot for your long answer! What about putting all of the
information on the hivetranse homepage or in a hivetranse wiki?
I'm quite sure many other people will be highly interested in it...

Next week I will take a closer look at HiveUtils. ;)

Sincerly,
  Andreas

On 13. Apr 2006 - 22:30:54, Jean-Francois Poilpret wrote:
| Andreas,
| 
| I try to summarize the various utilities you can find under the HiveUtils
| module (this is not exhaustive, I just gather what I believe is
interesting
| for a web application):
| 
| - ObjectBuilder (+ related ObjectProvider and contributions): this is for
me
| an essential part of HiveUtils, it does for POJOs what HiveMind does for
| "services" (POJO+POJI). Although HiveMind 1.1 offered support for POJO,
this
| support is quite limited (final classes donot work, even non final classes
| but with final public methods will not work...). This is described in the
| web site quick start. This is heavily used by some other modules (HiveGUI
in
| particular, but this module is not relevant for a web application).
| 
| - PropertyFileSymbolSource: allows to externalize some properties for your
| web app OUTSIDE the war of your app. Useful when you need several options
| for deployment, and that you want toset them up easily (properties file)
| 
| - ExceptionMappingInterceptor: an interceptor that allows you to map an
| exception to another one. Can prove useful in some situations.
| 
| - ObjectTools service: provides useful methods for zipping/unzippping byte
| arrays, ans serialize/deserialize Java objects to/from byte arrays (this
is
| easy to do, but how many times did you write it for different applications
| because eyou could not find wher eyou had put it the last time?)
| 
| - PasswordEncryption/SymmetricEncryptor: 2 helper classes for asymmetric
and
| symmetric encryption
| 
| - a few ServletFilters or Listeners to:
|       - initialize log4j
|       - monitor performance of each http request (useful for perf tuning)
|       - zip/unzip http requests/responses
|       -...
| 
| Essentially this is that. Other utilities would prove more useful for
Client
| applications (eg. PreferencesManager)
| 
| Most utilities in HiveUtils are being used in my other open source project
| HiveBoard, so I believe they are quite solid.
| 
| 
| For HiveLock module, this is a very simple way to implement authorization
at
| method levels of your services (through the AuthorizationInterceptor and
its
| config inside your hivemodule.xml). Please note that HiveLock does not
| provide authentication capabilities (but in the examples I referred to, I
| show that you can use the excellent open source servlet filter
| "SecurityFilter" for that purpose).
| 
| 
| Cheers
| 
| Jean-Francois
| 
| -----Original Message-----
| From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
| Andreas Bulling
| Sent: Thursday, April 13, 2006 4:49 PM
| To: Tapestry users
| Subject: Re: HiveUtils/HiveLock howto
| 
| Hi Jean-Fancois,
| 
| first, thanks for your answer and help! I will take a look at the
| examples you mentioned to see if they can be useful for me ;)
| 
| | Could you give more details of what is of interest to you in HiveUtils,
or
| | of what kind of utility you are looking for?
| 
| Well, actually as I'm quite new to Tapestry/Hivemind/Hibernate and all
| this stuff what I'm doing at the moment (while developing my first web
| application) is to take a look at some available projects/frameworks
| to see how they can help me/what they can be used for. So nothing
| special here ;)
| 
| Concerning HiveTranse I'm interested in the TransactionInterceptor
| and in the security facilities as I need some kind of security layer
| in my application and I don't really know what the best solution
| is in my case. Well, and what else I don't know as I don't know
| what HiveTranse provides ;)
| 
| Kind regards,
|   Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to