[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
may i get the clue. i got some posts which have the same problem. i will try follow those. tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035590#4035590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035590 _

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
oh,my god.Seam is such a big and complex system. How can i know its mechanism to bind a EntityManagerFactory to jndi. any clue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035587#4035587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
tks,for all your help. really! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035589#4035589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035589 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-08 Thread pxpwxj
tks! i will remember your remind of to pay attention to thread safe.It is like the hibernate session from this aspect? But does a entitymanager hold too many resource,and i make one for each thread,the performance will be reduced? View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to find a container managed entity manager through JNDI?

2007-04-07 Thread pxpwxj
I deployed a EAR under jboss4.0.5.GA.I have a ejb3.0 jar named a.jar which consists of three entity bean,and a web app named b.war in this ear. I want use those entity bean in those servlets of b.war.In this case ,i do not want to use session bean.I hope can use entity bean in those servlets di

[jboss-user] [EJB 3.0] - How to use assigned primary key within entitybean?

2007-04-07 Thread pxpwxj
This is my case:i use entity bean to handle table b,b is just for store historical data for table a.So b need a primary key(it's the same as a),but i always should use the same primary key value from table a when i move the record to b from a.when use hibernate,i can use assigned primary key fo

[jboss-user] [EJB 3.0] - Re: How to find a container managed entity manager through J

2007-04-07 Thread pxpwxj
tks. in my persistent.xml,i named the persistent unit "synch".When i attempt to get it through jndi,my code is like this:...context.lookup("synch");or context.lookup("java:/synch"),and the program error msg is:name sych is not bound.and i can not find the unit name under jboss's jndiview(in it's

[jboss-user] [JNDI/Naming/Network] - How to find a container managed entity manager through JNDI?

2007-04-07 Thread pxpwxj
How to find a container managed entity manager through JNDI? I deployed a EAR under jboss4.0.5.GA.I have a ejb3.0 jar named a.jar which consists of three entity bean,and a web app named b.war in this ear. I want use those entity bean in those servlets of b.war.In this case ,i do not want to use

[jboss-user] [EJB 3.0] - How to find a container managed entity manager through JNDI?

2007-04-07 Thread pxpwxj
I deployed a EAR under jboss4.0.5.GA.I have a ejb3.0 jar named a.jar which consists of three entity bean,and a web app named b.war in this ear. I want use those entity bean in those servlets of b.war.In this case ,i do not want to use session bean.I hope can use entity bean in those servlets dir

[jboss-user] [Beginners Corner] - Re: Big problem!How to reload a web module without restart t

2006-08-21 Thread pxpwxj
up,up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966579#3966579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966579 ___ jboss-user mailing list jboss-user@lists.jboss.or

[jboss-user] [Beginners Corner] - Big problem!How to reload a web module without restart the j

2006-08-21 Thread pxpwxj
I deployed a folder whose name is "xxx.war" to under the deploy dirctory of my jboss server.As many people praised:"jboss is excellent in hot deploy",the server can start my web module immediatly.But i still want say:it is very unconvient to reload a web module ,or to reload a servlet under jbos

[jboss-user] [Beginners Corner] - Re: If processing of one message failed in the onmessage() f

2006-08-16 Thread pxpwxj
please,please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965640#3965640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965640 ___ jboss-user mailing list jboss-user@lists.

[jboss-user] [Beginners Corner] - If processing of one message failed in the onmessage() funct

2006-08-16 Thread pxpwxj
My consumer shoulde recieve and process message asynchronously.My question is:If processing of one message failed in the onmessage() function,how to tell the jboosmq resend it to consumer again? I do not mdb,and I do not want to use transaction when processing messages because transaction slow

[jboss-user] [Messaging, JMS & JBossMQ] - Re: In my design, will JBOSSMQ server be the bottle-neck?let

2006-08-09 Thread pxpwxj
waiting ., View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964216#3964216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964216 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [EJB/JBoss] - what is the difference between cmp bean's "find" method and

2006-08-09 Thread pxpwxj
It really puzzled me?when should i use find mthod and when should i use select method? Why find mthods are alaways defined in the home interface but select mthod are defined in local/remote interface? thanks for any help! View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [EJB/JBoss] - what is the difference between cmp bean's "find" method and

2006-08-09 Thread pxpwxj
It really puzzled me?when should i use find mthod and when should i use select method? Why find mthods are alaways defined in the home interface but select mthod are defined in local/remote interface? thanks for any help! View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [Messaging, JMS & JBossMQ] - Re: In my design, will JBOSSMQ server be the bottle-neck?let

2006-08-09 Thread pxpwxj
up,up. help me! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964065#3964065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964065 ___ jboss-user mailing list jboss-user@list

[jboss-user] [Messaging, JMS & JBossMQ] - In my design, will JBOSSMQ server be the bottle-neck?let us d

2006-08-08 Thread pxpwxj
I decided to use jboss mq in my system.I use some thread to recieve message from an external program which does not based on java,so these message from outside do not accord with jms' message format.immidiatly after recieve these message,I add a jms' message header onto them and put them to Jbos

[jboss-user] [JBoss Messaging] - Re: PLEASE DO NOT POST JBOSS MQ QUESTIONS HERE

2006-08-07 Thread pxpwxj
I want to know what is the difference between JBOSS messaging and JBOSS MQ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963486#3963486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963486 ___

[jboss-user] [Beginners Corner] - Re: How to all oracle procedure in cmp bean?

2006-07-27 Thread pxpwxj
For those table matching to cmp bean or cmp relationship,can other program manipulate these data concurrently? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961205#3961205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Beginners Corner] - Re: How to all oracle procedure in cmp bean?

2006-07-26 Thread pxpwxj
tks for direction. I really want to know:If i use cmp bean,the container would access these table which mapping to the related cmp bean and related relationship frequently,would the server control these table exclusivly? and ,can i operate the data of these table in other program when the ejb c

[jboss-user] [Beginners Corner] - How to all oracle procedure in cmp bean?

2006-07-23 Thread pxpwxj
May be procedure is still needed when we use cmp bean.How can we call oracle procedure or function in a cmp bean.in this case ,should we write jdbc code by ourself or we can also achieve this by edit these serveral descriptor xml file? oracel procedure or function provide more flexibilty for ful

[jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l

2006-07-23 Thread pxpwxj
oh,I know .Add a jboss.xml file,then define the jndi name for every ejb in this file.it will work. but for session bean,i need not provide jboos.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960156#3960156 Reply to the post : http://www.jboss.com/inde

[jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l

2006-07-22 Thread pxpwxj
any help ?? tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960153#3960153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960153 ___ jboss-user mailing list jboss-user@list

[jboss-user] [Beginners Corner] - Big problem!How to lookup a entitybean which only have local

2006-07-22 Thread pxpwxj
I want to look up entity bean in my session bean.I give the name "LeagueBean" to this entity bean in my ejb-jar.xml ,source code is: LeagueBean team.LocalLeagueHome .. and i do not use a jboss.xml file .when i deploy it in jboss,i see some output in th

[jboss-user] [EJB/JBoss] - Re: Can any one give me a complete and valid example of CMP

2006-07-13 Thread pxpwxj
o,o,.,any one ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957947#3957947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957947 ___ jboss-user mailing list jboss-u

[jboss-user] [EJB/JBoss] - Can any one give me a complete and valid example of CMP bean

2006-07-12 Thread pxpwxj
Really,I am not new in java.But EJB especially CMP bean is very complex for me.I read a example in MyEclipse's web site.But i can not learn somthing useful from it.I do need a complete example to tell me how to write CMP BEAN,I hope this bean explain how to handle relationship between two databa