Re: [JBoss-user] Few doubts regarding container code??

2001-04-05 Thread Naresh Sharma

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 Coperatieve 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??

2001-04-05 Thread Kimpton,C (Chris)

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 Coperatieve 
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??

2001-04-04 Thread Kimpton,C (Chris)

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 Coperatieve 
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??

2001-04-04 Thread Rickard Öberg

 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??

2001-04-04 Thread Rajeev Bacchu

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