ANNOUNCEMENT: Keep up-to-date with Enterprise Java Conferences and Events with the Events Calendar on TheServerSide.com

2001-01-05 Thread Floyd Marinescu
Hi everyone, Thought you would be interested that a complete calendar of conferences, web chats and other EJB and J2EE related events has been added to TheServerSide.com at: http://www.theserverside.com/events/index.jsp There wasn't any other resource on the 'Net that had a comp

EJBMaker

2001-01-05 Thread Anuraj Singh
EJBMaker is WebSphere EJB development made easy. Updated: 01/02/2001 Supports Java 1.2, WebSphere 3.0 and 3.5. Bug fixes such a bad import in the generated bean XMLAdaptor class. DB2 scripts for importing and exporting bean data are now generated from databases, along with table creation scripts.

[ANN] RMI Community Meeting (follow-up)

2001-01-05 Thread RMI Community Meeting - Information
Announcing the Java RMI Community Meeting - What: The Java RMI Community Meeting is an opportunity for RMI developers, Sun RMI architects, and RMI/Jini/EJB vendors and advocates to share advanced tools and techniques, and to learn about the future direction

Re: Jdbc connection in IAS to oracle

2001-01-05 Thread Jonathan K. Weedon
GUN, Please post questions about IAS to: news://forums.inprise.com/inprise.public.appserver Also, you might want to look at the examples: /examples/ejb/bank and: /examples/ejb/pkgen Both of which illustrate setting up a JDBC connection to Oracle. -jkw Gunawan Tanud

Re: Inprise Application Server and JSP/Servlets

2001-01-05 Thread Jay Walters
I've used resin both on NT and Linux, but never with Inprise AppServer. Cheers -Original Message- From: Potts, Douglas [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 11:38 AM To: [EMAIL PROTECTED] Subject: Re: Inprise Application Server and JSP/Servlets These are for Windows

Re: Thread on the EJBServer

2001-01-05 Thread Sacha Labourey
Hello, Your suggestion is very interesting. Nevertheless, I have a small doubt you will probably erase quickly... When you register you EJB to the Timer Service (through the "TimerService.create" method call), the timer service receives a TimableEJB reference. Is this reference the one of the E

Re: Thread on the EJBServer

2001-01-05 Thread Christopher Cobb
You can put as many threads as you want into an outside client. cc Ashish Kalra wrote: > Can you also please suggest some options for how to achieve something I am > trying to achieve? > > Thanks, > -ashish > > -Original Message- > From: Bono, Chris [SMTP:[EMAIL PROTEC

Re: Thread on the EJBServer

2001-01-05 Thread Thibault Cuvillier
May be Jboss store some context information in the thread context: if you start a thread, these information are missing. Starting a thread in the EJB container is *illegal*. If you need to call an EJB method time to time, on a regular basis, you cannot create a Thread in the EJB container

Re: Thread on the EJBServer

2001-01-05 Thread sven
It's in the specs. They're really worth reading. See ejb 1.1 specs at section 18.1.2 Ashish Kalra wrote: > Thanks Chris. > > Can you please elaborate a little on why it should not be done, or tell me > of some source from where I could gain this knowledge. > > Thanks again, > -ashish > >

Re: Thread on the EJBServer

2001-01-05 Thread Robert Baker
Ashish, The EJB container manages several resources as a service to ease the programming burden associated with creating these business objects (EJBs). One of those resources is threads. By attempting to create your own worker threads, you circumvent the container's management of these resou

Re: Thread on the EJBServer

2001-01-05 Thread Matt Bauer
You don't want threads on the server for the very simple reason, it mucks up the app server. For more detail you can read the spec or orielly's ejb book. To do what you want, requires something along the lines of job scheduling. You can read about it at http://theserverside.com/resources/jobj2e

Re: Thread on the EJBServer

2001-01-05 Thread Bono, Chris
>>>Can you also please suggest some options for how to achieve something I am >>>trying to achieve? We do this in weblogic using weblogic startup classes. We do this in websphere using a generic server. These options are both proprietary and thus sucky. I believe JBoss will allow you to do this us

Re: Thread on the EJBServer

2001-01-05 Thread Bono, Chris
ejb1.1 spec section 18.1.2 "The enterprise bean must not attempt to manage threads. The enterprise bean must not attempt to start, stop, suspend, or resume a thread;.. -Original Message- From: Ashish Kalra [mailto:[EMAIL PROTECTED]] Sent: Friday, Jan

Re: Using CMP with existing tables

2001-01-05 Thread Tim Endres
Orion has a file ('orion-ejb-jar.xml' I think) that allows you to specify the table that an entity bean uses. If you define the attribute 'table' for your definition, you will get the behavior you desire. tim. > Hi, > > I want to use an existing DB table for a CMP bean. I've noticed that the > c

Re: Thread on the EJBServer

2001-01-05 Thread Ashish Kalra
Can you also please suggest some options for how to achieve something I am trying to achieve? Thanks, -ashish -Original Message- From: Bono, Chris [SMTP:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 10:38 PM To: [EMAIL PROTECTED] Subjec

Re: Thread on the EJBServer

2001-01-05 Thread Ashish Kalra
Thanks Chris. Can you please elaborate a little on why it should not be done, or tell me of some source from where I could gain this knowledge. Thanks again, -ashish -Original Message- From: Bono, Chris [SMTP:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001

Value-holder design methodology flaw

2001-01-05 Thread Rhodes, Phillip C.
In the Pet store, for every entity bean they define, there is a value object holder. For example, there is an Order (the ejb) and the OrderModel. What I have a problem with is the immense amount of code duplicity. If my Order object has 20 attributes, then I have to define the same 20 attribute

Re: Thread on the EJBServer

2001-01-05 Thread Bono, Chris
Ashish, I am not familiar w/ JBoss but one thing I do know is you should not be starting a thread from an ejb Chris >>>The thread is started through static code in one >>>of the beans. -Original Message- From: Ashish Kalra [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 6:37 A

Re: Inprise Application Server and JSP/Servlets

2001-01-05 Thread Dumitru Sbenghe
Yes; I use them on nt, 2000 -Original Message- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Potts, Douglas Sent: vendredi 5 janvier 2001 17:38 To: [EMAIL PROTECTED] Subject: Re: Inprise Application Server and JSP/Servlets These are for

Re: Inprise Application Server and JSP/Servlets

2001-01-05 Thread Potts, Douglas
These are for Windows NT then? regards, Doug -Original Message- From: Dumitru Sbenghe [mailto:[EMAIL PROTECTED]] Sent: 05 January 2001 17:06 To: [EMAIL PROTECTED] Subject: Re: Inprise Application Server and JSP/Servlets resin (www.caucho.com) - a servlet engine orion (www.orionserver.co

Re: Entity Bean / database synchronization issues

2001-01-05 Thread Thibault Cuvillier
Heiko, You need to commit the transaction when you exit from orderItem.setPrice(100.00). Then, ejbStore will be called. Check the transactional attribute of the method setPrice Tibo. >-Original Message- >From: Heiko Gottschling [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 05, 2001 5

Re: Inprise Application Server and JSP/Servlets

2001-01-05 Thread Dumitru Sbenghe
resin (www.caucho.com) - a servlet engine orion (www.orionserver.com) - an EJB server and servlet engine ( J2EE implementation) NOT tomcat; it's very slow in comparison with resin, orion; it's only a reference implementation; use only for develop; I don't know how they works with Inprise AppSer

Inprise Application Server and JSP/Servlets

2001-01-05 Thread Potts, Douglas
Hi, Can anyone recommend a JSP Servlet engine that works well (well enough for commercial deployment) with Inprise Application Server 4.1.1 for Windows NT. We've had a look at JRun but it doesn't seem to want to work with AppServer. Thanks for any suggestions, Doug Oh and sorry about the legal mes

Client code for Session Bean

2001-01-05 Thread Arul
Hello Ayesha Can u just send me a client file which looks up the Stateless session bean.I am having problems with looking up the bean from the client. For ex: Assume the Hello bean is deployed with Enterprise Bean class = HelloBean Home Interface = HelloHome Remote

No Subject

2001-01-05 Thread Mark Zawadzki
A .sql program depends upon SQL*PLUS to interpret/execute it. This is not supported by JDBS, as it is entirely an Oracle proprietary JCL. You need to recode the .sql into PL/SQL, which you can "call". This may not be possible if you are relying on the special features of SQL*PLUS, such as boilerpl

Re: Entity Bean / database synchronization issues

2001-01-05 Thread Johan Eltes
I asume that the two statements execute within a container managed transaction. Some containers are implemented along with the recommendation (or scenario) of the spec, namely to defere database updates until the end of the container transaction. In that scenario, you will have an inconsistency b

Thread on the EJBServer

2001-01-05 Thread Ashish Kalra
I need a thread on the EJB Server which needs to keep doing some background processing all the while. This thread is another class which from time to time should be able to access a bean and invoke its method. I am trying to get reference to the Home Interface by using look up with the Initial Con

Jdbc connection in IAS to oracle

2001-01-05 Thread Gunawan Tanudy
Hi all, Can somebody please tell me how do i define for jdbc connection in IAS 4.1 to oracle database ? thanks alot. Rgrds, "GUN" === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: Entity Bean / database synchronization issues

2001-01-05 Thread Ramakrishna Srinivasa
In this case ejbStore() should be called after setPrice() method. Did it so happen that it was not called??Did you verify?? It will be synchronised immly. Thanks, Ramki. - Original Message - From: Heiko Gottschling <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 05, 2

Entity Bean / database synchronization issues

2001-01-05 Thread Heiko Gottschling
Hi, as I understand the specification, it is up to the container to synchronize existing entity bean instances with the DB, i.e. the bean developer must not make any assumptions as to when the ejbStore() / ejbLoad() methods are called. If this is the case, how is consistency preserved if the tab

Cannot update database row in Oracle 8i through BMP

2001-01-05 Thread SSM Technologies
Hi everybody, We can add & delete rows from the database (Oracle 8i) using EntityBean (Bean Managed Persistence). But when we try to update rows in the database it gives the following exception: The ERROR : RemoteException occurred in server thread; nested exception is: java.rmi.RemoteExc

Using CMP with existing tables

2001-01-05 Thread Heiko Gottschling
Hi, I want to use an existing DB table for a CMP bean. I've noticed that the container I'm using (Orion) uses the value of the element in the DD as table name. If a table with this name already exists, its contents can be accessed by the CMP bean. Otherwise, the table is created. Is this a cont

Re: job.sql

2001-01-05 Thread Sandeep . Uppal
start is a SQL plus command so it cant work in java. u can read the sql file and make each sql a seperate string and run it. bye "Jai Ganesh, Balasubramaniam" To: [EMAIL PROTECTED] Subject:

No Subject

2001-01-05 Thread Dan Mork
Jaiganesh, If you can pass command line arguments to sqlplus to execute a .sql file (this works with MSSQL's isql/osql), then a quick and dirty solution would be to just execute sqlplus from your Java application. Look at the JDK docs for the Runtime class. Example: // execute NotePad R