[JBoss-user] [EJB 3.0] - Primary Key(ID) Propagation into Objects

2006-03-13 Thread udaydustin
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="

[JBoss-user] [EJB 3.0] - Re: Logging in .ejb3

2006-01-30 Thread udaydustin
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

[JBoss-user] [EJB 3.0] - Re: Logging in .ejb3

2006-01-30 Thread udaydustin
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

[JBoss-user] [EJB 3.0] - Logging in .ejb3

2006-01-29 Thread udaydustin
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

[JBoss-user] [JBossCache] - Not able to access cache.

2006-01-29 Thread udaydustin
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

[JBoss-user] [EJB 3.0] - log4j.xml in .ejb3 files

2006-01-24 Thread udaydustin
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

[JBoss-user] [EJB 3.0] - EJB3 POJO and normal class

2006-01-21 Thread udaydustin
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

[JBoss-user] [JBoss AOP] - Re: Additional classes in AOP.

2006-01-18 Thread udaydustin
"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

[JBoss-user] [JBoss AOP] - Additional classes in AOP.

2006-01-17 Thread udaydustin
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

[JBoss-user] [JBoss AOP] - Problem with extra generation of AOP classes

2005-12-09 Thread udaydustin
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