I have three objects and relationships:
A->B->C.
I could create a successful true one to one relation between A and B,
below is the code for that
Class A:
@Id(generator="fk")
@GenericGenerator(name="fk", strategy = "foreign", parameters={
@Parameter(name="property", value="
Thanks for immediate reply.
If I can not do that then, can you please let me know how can I use log4j.xml
to share between .ejb3 package and .war file, so that it writes to same log
file. I do not want to use the file defined in conf/log4j.xml.
View the original post :
http://www.jboss.com/i
AnyBody there
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920404#3920404
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920404
---
This SF.net email is sp
I want to access the log4j.xml file defined in one of the war(A.war) file from
other .ejb3(B.ejb3) package.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920313#3920313
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3
I have written the following code to test the cache funtionality.
Ithe Init servlet
MBeanServer server = MBeanServerLocator.locate();
cache = (TreeCacheMBean) MBeanProxyExt.create(TreeCacheMBean.class,
"jboss.cache:service=MyCache", server);
cache.put("/CacheTest", "Hello
I have 2 .ejb3 files A.ejb3 and B.ejb3, I am trying to log them in different
files.
I placed log4j.xml file in each of them(Let me know if this is not the right
way), log is still written according to the log4j.xml in conf/log4j.xml
Can anyone tell me how to configure the log4j.xml in regular .e
Can I use EJB3 POJO class as normal class, will there be any performance impact
or any additional database calls.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918875#3918875
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
"There is no way to explicitly set the number of generated classes. The
different instrumentors do however instrument code in different ways. Better
performance needs more generated classes"
Thanks kabir for the reply,
can you explain when you mean by when better performance is acheived, I mean
How to control the number of additional classes generated in Dynamic AOP?
Each compilation of class generates around 10 additional classes(assuming 5
methods and 5 variables in the class) for each of them.
I know there are lot of guru's here who can help me.
View the original post :
http://www
I am new to AOP, can anybody help me in understanding the following.
If I want to run tracing with Dynamic AOP for all of my classes and methods
will it be a good idea or not?
I run dynamic-aop example in JBossAOP1.3.4 it generated additional classes for
each method and classes and fileds. I
10 matches
Mail list logo