These are really good questions. I am also a newbie to
Weblogic 6.0 server. Greatly appreciate if anyone can
answer these burning questions Ranga has.
Sanjeev
--- "Ranga Rao, Vadlamudi" <[EMAIL PROTECTED]> wrote:
> I have deployed an EJB by placing it in
> D:\bea\wlserver6.0\config\mydomain\applications
> directory of my weblogic server6.0 My application
> flow is as shown below
>
> JSP-includes--JavaBean-(invokes a method on)
> ---JavaClass(ApplicationInterface layer)
> ---invokes--SessionBean --invokes--JavaClass
> --invokes----
> EntityBean(DomainLayer)
>
> JavaClass (i.e applicationInterface layer have code
> like this)
> {
> Enumeration enum = home.findWork (Id);
> XMLObjects xmlObjects = getFromEnum (enum);
> public XMLObjects getFromEnum (Enumeration enum)
> }
>
> public XMLObjects getFromEnum (Enumeration enum)
> {
> String errmsg = null;
> XMLObjects xmlObjects = new XMLObjects ();
> try
> {
> while (enum.hasMoreElements())
> {
> Claimer claimer =
> (Claimer) javax.rmi.PortableRemoteObject.narrow
> (enum.nextElement
> (),Claimer.class);
> #### MAJOR TIME IS CONSUMED IN THIS BUSINESS
> METHOD(claimer.toXmlObject())CALL #######
>
> xmlObjects.addClaimer (claimer.toXmlObject());
>
> ################## ###########
> }
> }
> catch (Exception e)
> {
>
> }
> return xmlObjects;
> }
>
>
> I have got some problem in weblogic while calling a
> business method (
> claimer.toXmlObject() )
> on the Remote reference of the entity bean got from
> the Enumeration of
> Finder Method .
>
> Eventhough I have set max-beans-in-cache to 100 it
> is creating more than 100
> beans in the cache .
> If my finder method returns an enumeration of more
> than 100 elements.Could
> you please tell me what is the
> problem and how can I solve this problem.Could you
> please suggest us optimum
> configuration we should use
> for CMP and BMP entity beans In weblogic 6.0. We are
> using weblogic 5.1 dtd
> for writing deployment descriptors
> we are using isModified()method also.
> The Number of beans created in the cache are not
> obeying max-beans-in-cache
> value and
> creating the number of elements available in
> Enumeration
>
> 1)what is the average time in which a bean is
> created?
> 2)How to identify whether iam deploying the bean in
> 1.1 Continer or 2.0
> Container in
> weblogic 6.0sp2 server
> 3)Is it compulsory to use 6.O DTDS or can i use 5.1
> DTDS in weblogic6.0
> server
> 4)Will weblogic maintain a freepool for entitybeans
> or directly put in cache
> when
> client calls a business method on the bean
> 5)Where should i put the dependent classes of an EJB
> (In JAR file along with
> EJB Classes or Put
> the Directory containing these dependent class files
> in classpath)
> 6)If One EJBJAR file needs Other EJB Files(I.e
> Remote reference) Will it
> look in its JAR File
> Or in the Classpath
> 7)Is LotusXslt Processor supported by Weblogic
> 8)what is the Best Value to put in
> idle-time-out-seconds tag of
> DeploymentDescriptor of a Bean
>
>
> Regards
> Ranga Rao
> [EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".