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