On Thu, Sep 18, 2008 at 11:20 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
aspectj is pretty cool, but its expression language is somewhat
limited. for example salve allows
public void somefunction(@NotNull Integer a, @NotEmpty String b) {}
aspectj, at least when i started salve, did not have
Ryan,
Here is how I do this with Spring:
http://day-to-day-stuff.blogspot.com/2008/08/java-transaction-boundary-tricks.html
Its not as pretty as Salve's @Transactional but just as effective.
Regards,
Erik.
Ryan wrote:
Aside from these ideas, has anyone used a different method for
I know this topic has come up a few times on the list but I wanted to
rehash some ideas again.
I'm using Spring/Hibernate/Declarative Transactions. We try to keep our
data-models rich and that helps a lot with transactional support
(services direct the rich-models and commit at the end of the
with salve you can do a neat thing:
class transactionalform extends form {
@Transactional process() {
super.process();
}
}
now if your form uses an ldm that loads an entity you dont even need
an onsubmit, things just get updated automatically because model
updates happen within a
You don't need Salve for that. You can just use the AspectJ compiler
and weave the transactional support into your form class.
On Thu, Sep 18, 2008 at 6:49 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
with salve you can do a neat thing:
class transactionalform extends form {
@Transactional
Igor,
This looks like it would be ideal, I'll read more about Salve and see if
I can get it working.
-Ryan
On Thu, Sep 18, 2008 at 03:49:23PM -0700, Igor Vaynberg exclaimed:
with salve you can do a neat thing:
class transactionalform extends form {
@Transactional process() {
isnt that what i said?
-igor
On Thu, Sep 18, 2008 at 4:11 PM, James Carman
[EMAIL PROTECTED] wrote:
You don't need Salve for that. You can just use the AspectJ compiler
and weave the transactional support into your form class.
On Thu, Sep 18, 2008 at 6:49 PM, Igor Vaynberg [EMAIL PROTECTED]
I didn't think so. My apologies if I misunderstood. I was talking
about using the spring-aspects stuff and having the AspectJ compiler
weave the aspects into your code at compile time. Isn't Salve a
load-time weaver?
On Thu, Sep 18, 2008 at 8:37 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
isnt
read my email, i said it is possible without salve. salve just makes
it easier by letting you put the annotation on any method of any
class.
salve ships with 3 instrumentation options. there is the agent for
load time weaving, a maven2 plugin for compile time weaving, and an
eclipse plugin for
aspectj is pretty cool, but its expression language is somewhat
limited. for example salve allows
public void somefunction(@NotNull Integer a, @NotEmpty String b) {}
aspectj, at least when i started salve, did not have an expression
that would let you match a function if its argument was
10 matches
Mail list logo