RE: [JBoss-user] Few doubts regarding container code??
| |Or look at that javadoc for java.long.reflect.Proxy | |That's where the Real Magic is. nope, the Real Magic (tm) is in Atlanta GA The trick is the mixing of the 1.2.2 JDK Remote Serialized trick with the Dynamic Proxy generation from JDK 1.3. The **mix** is the trick, each feature, separately is "boring Standard JDK". It is a great little hack. It is covered in detail in the training I am giving in Atlanta in May, "register now!" the places are going fast and it is going to be a great meeting "of minds", strong networking with your peers, lead architect hardcore stuff, hey I had to get a plug-in didn't I? marc ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Few doubts regarding container code??
On Thu, 5 Apr 2001, Peter Routtier-Wone wrote: > You want documentation describing how to not create and deploy stubs? > > OK: This page intentionally left blank. > > The dynamic proxy trick is Rickard's. It is really only detailed in the > source code. Or look at that javadoc for java.long.reflect.Proxy That's where the Real Magic is. > > - Original Message - > From: "Naresh Sharma" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 05, 2001 7:31 PM > Subject: Re: [JBoss-user] Few doubts regarding container code?? > > > > can you point me some docs regarding this. > > > > it's the magic of dynamic proxies which is what WL doesn't do. > > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > -- Dan Christopherson (danch) nVisia Technical Architect (www.nvisia.com) Opinions expressed are mine and do not neccessarily reflect any position or opinion of nVISIA. --- If you're a capitalist and you have the best goods and they're free, you don't have to proselytize, you just have to wait. -Eben Moglen ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Few doubts regarding container code??
You want documentation describing how to not create and deploy stubs? OK: This page intentionally left blank. The dynamic proxy trick is Rickard's. It is really only detailed in the source code. - Original Message - From: "Naresh Sharma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 05, 2001 7:31 PM Subject: Re: [JBoss-user] Few doubts regarding container code?? > can you point me some docs regarding this. > > it's the magic of dynamic proxies which is what WL doesn't do. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Few doubts regarding container code??
Hi, > -Original Message- > From: Naresh Sharma [mailto:[EMAIL PROTECTED]] > > BTW, can you please tell me where to find these kind of details ? > > Like i look in to the docs but could'nt find it.. am i > missing something? > Yep - try looking harder... ;-) http://www.jboss.org/documentation/HTML/ch08s04.html For more on dynamic proxies - try http://java.sun.com HTH, Chris PS - TO JBOSS website maintainers... for us crippled greedy corporate types, stuck with IE4-sp2(NT4-sp3) that we have no power to upgrade, the "New JBoss manual" link on this page; http://www.jboss.org/business/doco.html still doesn't work - luckily view source does and so I can enter it manually... This electronic message (email) and any attachments to it are subject to copyright and are sent for the personal attention of the addressee. Although you may be the named recipient, it may become apparent that this email and its contents are not intended for you and an addressing error has been made. This email may include information that is legally privileged and exempt from disclosure. If you have received this email in error, please advise us immediately and delete this email and any attachments from your computer system.Rabobank International is the trading name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. Registered with the Registrar of Companies for England & Wales No. BR002630 and regulated by the SFA for the conduct of investment business in the UK. The presence of this footnote also confirms that this email has been automatically checked by Rabobank International for the presence of computer viruses prior to it being sent, however, no guarantee is given or implied that this email is virus free upon delivery. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Few doubts regarding container code??
Hi Marc, This sounds great... can you point me some docs regarding this. Thanks Naresh marc fleury wrote: > |1) In weblogic developer has to provide a standard jar(which contains > |your bean code) to ejbc compiler, which generates another jar > |file(deployable, this jar contains all the code generated by container). > | > | how this is done in JBoss??? > | where does container code resides and when it is being generated? > | > | > | > |2) When client calls any Remote method how does it gets the stubs?? > > it's the magic of dynamic proxies which is what WL doesn't do. > > marc > > | > |Thanks > |Naresh > | > | > |_ > |Do You Yahoo!? > |Get your free @yahoo.com address at http://mail.yahoo.com > | > | > |___ > |JBoss-user mailing list > |[EMAIL PROTECTED] > |http://lists.sourceforge.net/lists/listinfo/jboss-user > | > | > | > |___ > |JBoss-user mailing list > |[EMAIL PROTECTED] > |http://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Few doubts regarding container code??
Hello Chris, Thanks for the information. BTW, can you please tell me where to find these kind of details ? Like i look in to the docs but could'nt find it.. am i missing something? Thanks Naresh "Kimpton,C (Chris)" wrote: > Hi, > > > -Original Message- > > From: Naresh Sharma [mailto:[EMAIL PROTECTED]] > > > > 1) In weblogic developer has to provide a standard jar(which contains > > your bean code) to ejbc compiler, which generates another jar > > file(deployable, this jar contains all the code generated by > > container). > > > > how this is done in JBoss??? > > where does container code resides and when it is being generated? > > > > 2) When client calls any Remote method how does it gets the stubs?? > > > > JBoss is way cooler! > > It uses the Dynamic Proxy facilities of Java to remove the need for > application specific stubs. > > Thus on the client (in jboss-client.jar) the EJBObject dynamically looks > like your remote interface, this then talks to the server which dynamically > talks to your implementation. > > Thus there are no application specific stubs - just generic jboss ones that > can handle any remote objects. > > So, with jboss, you can deploy your jar directly - no need to re-compile it > to add any custom code. > > HTH, > Chris > > > > This electronic message (email) and any attachments to it are subject to copyright >and are sent for the personal attention of the addressee. Although you may be the >named recipient, it may become apparent that this email and its contents are not >intended for you and an addressing error has been made. This email may include >information that is legally privileged and exempt from disclosure. If you have >received this email in error, please advise us immediately and delete this email and >any attachments from your computer system.Rabobank International is the trading name >of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the >Netherlands. Registered with the Registrar of Companies for England & Wales No. >BR002630 and regulated by the SFA for the conduct of investment business in the UK. > > The presence of this footnote also confirms that this email has been automatically >checked by Rabobank International for the presence of computer viruses prior to it >being sent, however, no guarantee is given or implied that this email is virus free >upon delivery. > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Few doubts regarding container code??
|1) In weblogic developer has to provide a standard jar(which contains |your bean code) to ejbc compiler, which generates another jar |file(deployable, this jar contains all the code generated by container). | | how this is done in JBoss??? | where does container code resides and when it is being generated? | | | |2) When client calls any Remote method how does it gets the stubs?? it's the magic of dynamic proxies which is what WL doesn't do. marc | |Thanks |Naresh | | |_ |Do You Yahoo!? |Get your free @yahoo.com address at http://mail.yahoo.com | | |___ |JBoss-user mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-user | | | |___ |JBoss-user mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Few doubts regarding container code??
Hey, nice question, I am waiting to listen to some answers. -RawLife. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 04, 2001 3:07 PM To: Jboss User Subject: [JBoss-user] Few doubts regarding container code?? Hello Everyone, I have worked on Weblogic server and now i have switched to jboss for deploying my apps. Well, as i came from Weblogic server i was comparing some of issues with jboss, let me put this in questions form : 1) In weblogic developer has to provide a standard jar(which contains your bean code) to ejbc compiler, which generates another jar file(deployable, this jar contains all the code generated by container). how this is done in JBoss??? where does container code resides and when it is being generated? 2) When client calls any Remote method how does it gets the stubs?? Thanks Naresh _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Few doubts regarding container code??
> 1) In weblogic developer has to provide a standard jar(which contains > your bean code) to ejbc compiler, which generates another jar > file(deployable, this jar contains all the code generated by container). > > how this is done in JBoss??? It's not needed. > where does container code resides and when it is being generated? There is no code being generated. It's a bit more clever and automagic. > 2) When client calls any Remote method how does it gets the stubs?? There are no stubs. See 1) /Rickard ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Few doubts regarding container code??
Hi, > -Original Message- > From: Naresh Sharma [mailto:[EMAIL PROTECTED]] > > 1) In weblogic developer has to provide a standard jar(which contains > your bean code) to ejbc compiler, which generates another jar > file(deployable, this jar contains all the code generated by > container). > > how this is done in JBoss??? > where does container code resides and when it is being generated? > > 2) When client calls any Remote method how does it gets the stubs?? > JBoss is way cooler! It uses the Dynamic Proxy facilities of Java to remove the need for application specific stubs. Thus on the client (in jboss-client.jar) the EJBObject dynamically looks like your remote interface, this then talks to the server which dynamically talks to your implementation. Thus there are no application specific stubs - just generic jboss ones that can handle any remote objects. So, with jboss, you can deploy your jar directly - no need to re-compile it to add any custom code. HTH, Chris This electronic message (email) and any attachments to it are subject to copyright and are sent for the personal attention of the addressee. Although you may be the named recipient, it may become apparent that this email and its contents are not intended for you and an addressing error has been made. This email may include information that is legally privileged and exempt from disclosure. If you have received this email in error, please advise us immediately and delete this email and any attachments from your computer system.Rabobank International is the trading name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. Registered with the Registrar of Companies for England & Wales No. BR002630 and regulated by the SFA for the conduct of investment business in the UK. The presence of this footnote also confirms that this email has been automatically checked by Rabobank International for the presence of computer viruses prior to it being sent, however, no guarantee is given or implied that this email is virus free upon delivery. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user