Hi John,
I don't think there is a 1-to-1 relationship between EJBOBjects and bean
instances; this issue is vendor-specific, but I'm sure most server pool and
reuse EJBObjects just like they do bean instances. The reason why
EJBObjects can be pooled and recycled is because they don't contain cli
Hi Gene,
If you avoid in the xml mapping, i think its ok.
Reddy
===
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 PRO
If you are doing SQL INSERT and do not want to supply a value to a column
that has a set default value, then you cannot have a '?' placeholder for
that column, nor supply a 'null' as the bind variable.
Under BMP, you can modify your sql statement to exclude this column.
Under CMP, I'm not aware
Hi Ashish,
Dont map that field at all.
Reddy
===
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
Hi Rajit,
Why are you sending the same mail multiple times, try to understand the
forum, if somebody interested in helping definately he/she do it, but if u
send same thing multiple times u problems won't be solved, instead stopp
seeeing that mails, simply deletes.
Reddy
=
This is why a great Deployment tool needs to be created. It would be great
to have a generic tool, that has
plugins for the various app servers (to create the weblogic.xml etc). I
heard that the JBoss tool can allow for that. Maybe the SUN Deployer tool
allows for it too. Having to hand edit XM
Hi Aashish,
In Oracle8i speaking something about LOCATORS to store big images or
BFILES, u can use this.
I am able to create tables with BLOB's but i have problems, while
inserting & fetching the same .
Please, can u send some exmaples of SQL's or java progrmas, covers all
varietys to handle,
Hi,
Infact, I am using CMP beans.
- Original Message -
From: "Evan Ireland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 01, 2001 9:29 AM
Subject: Re: Default value(s) in dB column
> How about omitting the column from your insert statement, i.e. instead of:
>
>
John,
I suggest that you embed the primary key into your client object references
(for a CORBA-based server, embed the primary key within the object_key part
of the IIOP profile). You might want to add to that a per-client unique id
to allow multiple clients to have distinct references to the 'sa
How about omitting the column from your insert statement, i.e. instead of:
insert into table (myKey, myColWithDefault) values (123, null)
do:
insert into table (myKey) values (123)
If you are using CMP you will need to check with BEA whether this is possible.
Ashish Ravi wrote:
>
> Hi,
Hi,
If i have a set a default value for a not-null column in my table and when
i insert a record(while sending a null value for the above-mentioned
column), i get a "java.sql.SQLException : Cannot insert the value NULL into
column" error.
How do i let the insertion take the default value from th
Hi All,
I'm doing some work on a container at the moment
and have a question that I hope someone might be
able to help me with. The issue is with regards
to the life cycle of the EJBObject instance for
entity beans.
With session beans, when a client has finished,
it can do a remove() on the remo
Please refer to Richard Monson Haefel's EJB book for life cycle details of a
stateless session bean. Container invokes ejbcreate() when it creates the
bean instance snd puts them into instance pool not when client calls create()
method. Of course this happens only in stateless beans. For other typ
It is in the directory /classes/weblogic/jndi/
Hariharan N <[EMAIL PROTECTED]> on 02/28/2001 11:31:09 AM
Please respond to A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:(bcc: U P Shibu/LTITL)
Subject: WLInitialContextFactory
Kumar,
You should change:
book = (lafpackage.Book)bRef; //Exception occures here
to:
book = (lafpackage.Book)PortableRemoteObject.narrow(bRef, lafpackage.Book);
This is required for portable code, and clearly your container needs
it to be done portably.
Kumar K Behura wrote:
Thanks to all our beta testers.
We are preparing a public Release Candidate 1 for release shortly. This will
resolve a couple of software issues. We will announce the availability of RC1
via this forum.
We had intended to get RC1 out prior to 28 February when the public beta code
expires. As our
I'll look for the book. I've gotten to about page 146 of th 2.0 spec (read
aprts of the 1.1 spec) and I don't know who wrote the material on dependent
objects, but that's got to be some of the densest computer doc I've ever tried
to read. Whatever happened to "eschew obfuscation"?
>
>And when
Satyabrata Dash wrote:
>
> The hashcode returned will be same for same set of primary key. This is
> double checked by equals method. The container then creates a new EJBObject
> instance for every user and associates the EJBObject object with the same
> entity bean instance. So there exist only o
a session object stores a reference, not a value.
> -Original Message-
> From: Nambiar Pratima [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 28, 2001 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: Objects retrieved from an EJB reflect changes to the
> object in
> the EJB
>
>
> Hi
>
Hello,
How do I control the number of beans in cache while deploying a Stateful
Bean in Application Deployment Tool, J2EE?
waiting for a reply,
regards,
Rajit.
_
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
==
Hi
Please refer to the following code :
Test obj1 = remote.getTestObj(); // just returns the test object.
remote is the remote reference of a session bean
System.out.println("Val = " + obj1.getVal()); // prints the
"default" value
remote.setTest("something"); // s
Hi All,
I've written a sample EJB which takes two ints and returns an int. Its a
stateless Session Bean. Everything works out well. I deploy it using
j2ee.My client can contact the bean and could get the result.
Now, I modified the code and put a method which creates a sample Cloudscape
db. And
Finding the proper person is already being done. The proper people at
Sun have been notified.
- Original Message -
From: Kirk Pepperdine <[EMAIL PROTECTED]>
Date: Wednesday, February 28, 2001 11:28 am
Subject: Re: lets cleanup EJB-INTEREST
> Richard,
>
> I'm still signed onto list that
Richard,
I'm still signed onto list that was spun off when Alan Williamson's (JDJ)
thought he was taking way to much heat for some of his views (different
issue) and he shut his list down. From this experience I've come to realize
that there are problems with spinning off new list that doesn't h
It's always great to have someone like Richard moderating this list..I'd
love to join.
Thanks
Shubhro
-Original Message-
From: Carlos Duque/Cariz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Richard Monson-Haefel as Moderator
Sacha,
You raise some very interesting questions. My thoughts are below, although
I want to quickly point out that there are a number of different ways to
answer your questions, and my comments are ... well ... mine ;-)
Sacha Labourey wrote:
>
> Hello,
>
> I have some general EJB questions.
>
>
Aashish,
You must design your EJB to avoid to load all the images
data in the AS memory.
To do that you can create a RemoteIterator which stream
data on a chunks-per-chunk basis from the database
to the EJB and then to the client.
The Remote Iterator is a stateful (it use a JDBC Statement)
Sess
ezboard doesn't look like it does either mail lists or moderation; it's for
online forums.
There's always egroups (now groups.yahoo.com), however, but you either pay
or get ads tacked on. They already host some EJB groups; EJB-Developer
(moderated) has 1100+ subscribers.
Kirk Yarina
At 11:19 A
Peter,
Apologies if this is a duplicate message, but Hotmail died the first time I
tried to send it.
I know you can download Ed Roman's entire EJB book from
www.theserverside.com, on the "Resources" page. That's a great place to
start. It seemed like the JGuru "EJB Short Course" that's on th
Good Idea!You can try ezboard.com
Girish
-Original Message-
From: Carlos Duque/Cariz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Richard Monson-Haefel as Moderator
I think it is a grand idea and want to join your list. Pleas
If I am operating on only one table,can I use one Entity Bean to perform
different operations such as select/update/insert/delete
I want to call different methods on the Bean to do the above i.e
finder,create,update,delete.
Will a new instance of the Bean be created for every invocation or will it
At 03:37 AM 1/29/2001 -0800, you wrote:
>Hi All,
>We are using images whose size can go upto 1MB. My first question is ,
>should we store the images in a Database (oracle) or should we just store
>the relative path for it in the Database.
>My second question( which is more relavent for this li
Announcing Mastering RMI
This new book will take you into the depths of RMI, and show you how it
all really works. The basics are explained, and also how it works on an
architectural level. Specific features such as dynamic classloading,
custom connection factories and marshalling are discussed i
Hi,
I don't know if this is the right place to ask about it.
I have a java Bean and I'm calling it from a JSP file, I'm using Jaguar CTS
for application server
Every time I deploy the WAR file I have to restart Jaguar CTS otherwise I
get an Internal server error and in the JaguarHttpServlet.log f
I think it is a grand idea and want to join your list. Please keep me
informed.
Carlos
Richard Monson-Haefel <[EMAIL PROTECTED]> on 02/28/2001 05:19:25 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject:Richard Monson-Haefel as Moderator
Hi,
This is Richa
Hello All,
While deploying a Stateless Session Bean , i found that the
constructor of the bean is called (I have given the no. of instances in free
pool as 5) . Also, the ejbCreate gets called for each of these instances.
I understand that when the client calls create() on
Hi,
This is Richard Monson-Haefel author of O'Reilly's books on Enterprise
JavaBeans and the Java Message Service. I have been subscribing to this
list since about August 1998 and have seen just about every kind of post
imaginable, but lately I've been amazed.
I've noticed a lot of postings comp
The jdbc/DealerDataBeanDB from your ejb-jar.xml
doesn't correspond to the jdbc/DealerSBeanDB
from your weblogic-ejb-jar.xml .
-Message d'origine-
De : A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]De la part de Hardeep Singh
Envoyé : mercredi 28 février 2
Hello,
I have some general EJB questions.
Imagine the case where we use a a CORBA/IIOP client (in C++ for example)
accessing a IIOP compliant EJB server.
1) An EJB server speaking to a Java client may provide a quite sophisticated
dynamic home or remote stub i.e. it could for example provide cl
Create a data source called something like crmdatasource and then change the
crm to crmdatasource. This
should then work. I think the data source name can be anything you choose.
Lee
_
Lee Turner
Systems Developer
Information Technology Leeds
___
The classes is present in the directory weblogic/classes/weblogic/jndi
-Shibu
Hariharan N <[EMAIL PROTECTED]> on 02/28/2001 11:31:09 AM
Please respond to A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:(bcc: U P Shibu/LTITL)
Subj
Hi all,
I am trying to deploy a session bean in weblogic. I have created a pool
named crm, the file ejb-jar.xml contains the lines:
No Description
jdbc/DealerDataBeanDB
javax.sql.DataSource
Container
and the weblogic-ejb-jar.xml:
jdbc/DealerSBeanDB
Hi All,
I've written a sample EJB which takes two ints and returns an int. Its a
stateless Session Bean. Everything works out well. I deploy it using
j2ee.My client can contact the bean and could get the result.
Now, I modified the code and put a method which creates a sample Cloudscape
db. And
In Weblogic6.0 the weblogic.jar has all the JNDI related file like
weblogic\jndi\*
Similarly where we can find these classes in Weblogic5.1
It's not there in the weblogicaux.jar.
When i run my client it says no initialcontext found Class
weblogic.jndi.WLInitialConetxtFactory not found!!
Any help!!
Hi All,
I have a BMP entity bean which contains findXXX method. This methods
returns Enumeration of the primary key object. when i am calling it from my
session bean and casting it to the remote reference i am geting
ClassCastException . I am giving the code snippet for the finder method
and
When using the open-source JOnAS application server (http://www.objectweb.org/jonas)
together with Jeremie, local calls to beans in the same JVM are optimized and
marshalling/unmarshalling is avoided.
alex
Krishnan Subramanian wrote:
> Hi Samuel.
>
> I believe that depends on your vendors
On Wed, 28 Feb 2001 10:29:44 +0530, [EMAIL PROTECTED] wrote:
>Hey what all is happeneing in this
>listwheshh
>This is unbelievable , I don't know what the administrators of this list
>are doing.
You're assuming there administrators of this list. As far as I ca
47 matches
Mail list logo