开发者

Is it possible to use SBT in a Java project with Hibernate and AspectJ?

开发者 https://www.devze.com 2023-03-26 06:59 出处:网络
What would I need to configure and what would automatically work? As far as I understand using both can be a bit tricky, because both use bytecode weaving. Can I keep using the more convenient configu

What would I need to configure and what would automatically work? As far as I understand using both can be a bit tricky, because both use bytecode weaving. Can I keep using the more convenient configuration syntax or do I need the "full" Scala version of it?

Currently I开发者_运维百科'm trying to use Maven, without much success.


Can you at least provide code examples to work with? What are you trying to achieve?

I have used hibernate - spring - and SpringAOP (which is substitutable for aspectj) and it works well. The same project also worked well with aspectJ - I was trying to intercept calls on specific methods calls in order to determine the exception(s) to serialize back to a GWT client.

Any example and what you intend to achieve is a good start?

0

精彩评论

暂无评论...
验证码 换一张
取 消