RE: Use the lession 2 taglib example ,but get an error

2000-12-11 Thread Magnus Rydin



HI 
there.
Download the HelloTag.java from the tutorial. Compile it and put it i 
your /classes/com/acme/tag directory.
Then 
download the taglib.tld from the tutorial and place this in your /web-inf/ 
directory.
After 
the last major update of the tutorial, there is no mytags.jar file there, if you 
dont make one yourself.
WR

  -Original Message-From: cgreen 
  [mailto:[EMAIL PROTECTED]]Sent: den 8 december 2000 
  02:01To: Orion-InterestSubject: Use the lession 2 taglib 
  example ,but get an error
  
  500 Internal Server ErrorError parsing JSP page /tag/01/hello.jsp 
  line 8No tag named 'hello' found in tag-library file:/E:/orion/default-web-app/tag/01/mytags.jarI have downloaded  hello.jsp and mytags.jar from Orion siteBut get the above errorPlease help me,thanks!


RE: ATM wap application

2000-12-11 Thread Magnus Rydin
Title: RE: ATM wap application





Please let me know what problems you are having. Try to be as detailed as possible.
WR


 -Original Message-
 From: Jim Cao [mailto:[EMAIL PROTECTED]]
 Sent: den 8 december 2000 16:57
 To: Orion-Interest
 Subject: ATM wap application
 
 
 Hi,
 
 I have added an application /atmwap to
 /orion/applications and used phone.com (US.SDK) to
 test it. In the phone information console display
 HTTP GET Request: HTTP://LOCALHOST/atmwap
 
 cache hit: {
 
 HTTP://LOCALHOST/http//localhost/atmwap/login.jsp
 }
 
 It does not work. Anyone can help me to set it up
 properly.
 
 Jim
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Shopping - Thousands of Stores. Millions of Products.
 http://shopping.yahoo.com/
 





Re: Anyone heard from evermind?

2000-12-11 Thread Jeff Schnitzer

Does this mean that all the java packages will be renamed from
com.evermind.* to com.ironflare.* ?  :-)

Jeff

From: Karl Avedal 
Subject: Re: Anyone heard from evermind? 
Date: Thu, 07 Dec 2000 04:15:49 -0800 

Hello,
I thought it was time for some explanation on our silence.

Alot of things are happening structually right now to the company. The
biggest
news is probably that the company is no longer Evermind, but is now
called
Ironflare AB, which is a new limited corporation. The owners are the
same so it
is not a takeover or anything like that, but the new company form will
enable
us to expand faster than the old company. We will announce this
officially
within a few weeks.




Stateful Session Bean and HTTPSession

2000-12-11 Thread Laurent Cornelis

Hello,

I develop a web application where I use a stateful session bean for my Acl
management.

When HTTP session is created, I create a bean instance and cache it to the
session, so my servlet and every JSP can use it. When the user logout, I
invalidate the session and remove my bean. But if the user close the browser
without logout or if Orion crash and is restarted, the bean instance is not
removed... I set a session timeout of 7200 sec. in my orion-ejb-jar.xml, is
the bean removed after this time if unused ? How can I clean these "phatom"
bean's instance ?

Thanks

Laurent Cornelis







Faster encryption

2000-12-11 Thread David Ekholm

I noticed a TPS drop (transactions per second) of factor four when I
benchmarked my application using 128 bit SSL encryption (5 client threads)
compared to non-encrypted benchmarking. I know that the SSL layer is
pluggable in Orion, I use the standard one that comes with Orion 1.4.0.

Is there a faster implementation of SSL for Java/Orion out there, maybe a
native code solution? Or is the standard encryption package already using
native code for the most critical sections? I guess not, as I have used C++
packages for encryption previously and not noticed such CPU eating
behaviour.

/David


"The Las Vegas of Online Gaming" David Ekholm
System Architect
Hammarby Kajväg 14, 120 30 Stockholm
tel: +46 (0)8 55 69 67 11
mob: +46 (0)70 486 77 38
fax: +46 (0)8 55 69 67 07
icq: 410993 




Problems with orion-ejb-jar.xml

2000-12-11 Thread Tobias Streckel




Hello,

I have a full functional ear-file.

The file was bind in orion. Orion deploys me the 
orion-ejb-jar.xml file but if I want to change it and restart the server the 
file will be overwrite and me changes will be lost!

If the are flag or option to use my settings???

Thanks

Tobi


Re: Anyone help me of Javamail ?

2000-12-11 Thread John Hogan

try out the samples that come with the javamail
install from Sun

_

Get your free E-mail at http://www.ireland.com




Off topic: development tools

2000-12-11 Thread Jarek Skreta

Hello everybody,

I am in the process of selecting an IDE for developing J2EE applications on
Orion. I would appreciate any advice on the subject. I've noticed from
emails that JBuilder is quite popular. Other contenders that I know off are:
Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain tools
like Ant, etc.

The features I am mainly interested in are: ability to develop for different
Apps Servers, visual debugging, validation of conformance with
specifications (e.g. for EJBs). 

I will be grateful for your comments and recommendations.

Thanks,
Jarek Skreta



 winmail.dat


R: Off topic: development tools

2000-12-11 Thread Montebove Luciano

My preferred combination of tools for Orion include:
Structure Builder from WebGain (for EJB design) +
Kawa Professional from Allaire(as IDE for editing and debugging).

Luciano




 -Messaggio originale-
 Da:   Jarek Skreta [mailto:[EMAIL PROTECTED]]
 Inviato:  lunedì 11 dicembre 2000 12.03
 A:Orion-Interest
 Oggetto:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 




Overwritting: orion-ejb-jar.xml

2000-12-11 Thread Tobias Streckel

Hello,

I have a full functional ear-file.

The file was bind in orion. Orion deploys me the orion-ejb-jar.xml file but
if I want to change it and restart the server the file will be overwrite and
me changes will be lost!

If the are flag or option to use my settings???

Thanks

Tobi





RE: Off topic: development tools

2000-12-11 Thread J.T. Wenting

JBuilder is an excellent tool, especially version 4. Previous versions
suffered from relatively poor performance and were prone to craching due to
the JVM leaking memory at an alarming rate. While no problem with JBuilder
per se, it did mean that JBuilder fell behind in the polls compared to IDEs
that are not pure Java.
JDeveloper is indeed based on JBuilder, but on a very early version (2.0 I
think, maybe even 1.0). I do not think the current version should be seen as
a direct clone of current JBuilder versions.

I am using JBuilder for creating all kinds of Java apps, but not EJBs. We
use iPlanet webserver for deployment which does not support EJB, so I would
have nowhere to run them :) I tried getting Orion into the organization here
but corporate standards say iPlanet and Websphere...

Ant is not an IDE, but rather a replacement for ye olde make. You could look
at Forte, but it is designed more for Swing GUIs with little support for
serverside apps, and suffers heavily from memory bloat and leakage.
If anyone knows who currently markets Visual Cafe? 
I cannot recommend Visual Age for Java. It is huge, slow and a resource hog
(better not use it on any machine with 256MB RAM, more is better). Also, I
personally find the interface highly confusing and unintuitive. It is also
linked more or less completely with Websphere alone.

Jeroen T. Wenting
[EMAIL PROTECTED]

Murphy was wrong, things that can't go wrong will anyway 


  -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 11, 2000 12:03
 To:   Orion-Interest
 Subject:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 

 winmail.dat


UserManager

2000-12-11 Thread Stefan Frank

I've been looking for some details, maybe a tutorial on the use of the
UserManagers provided by orion - I'm currently evaluating different ways of
handling user, groups and application-specific Rights and stumbled across
the EJBUserManager. Anybody ever used this stuff in a production enviroment
(I'm currently using just two roles, guest and admin, both stored in the
prinbcipal.xml, but this won't suffice for the new application.

Any help greatly appreciated!
Stefan Frank

Senior Java Architect
fluxx.com e-production GmbH



fluxx.com e-production GmbH - ein Unternehmen der fluxx.com AG
Leverkusenstrasse 54 Eingang 3, 22761 Hamburg
Tel.: (040) 85 37 88 - 56, Fax: (040) 8 50 46 47
please visit http://www.jaxx.de and http://www.fluxx.com
mailto: [EMAIL PROTECTED]








Re: Anyone help me of Javamail ?

2000-12-11 Thread Daniel C. DiCesare

I maybe able to help. What is the question?

-Danno
- Original Message -
From: "ureyurey" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 5:43 AM
Subject: Anyone help me of Javamail ?


hi,
i'm trying to send  recieve mails using javamail api 
ejb.
pls..., anyone help me out.
write in details...
thanks

yoursUrey



__

==ÐÂÀËÃâ·Ñµç
×ÓÓÊÏä http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/






Re: SV: Off topic: development tools

2000-12-11 Thread Hani Suleiman

flamebait
Of course, you could always do what real men/women do and use vi/emacs,
that way you never play the silly version/feature/vendor game, and can
rest easy at night knowing that your java code is all yours, and that no
tool has done horrible things to you and your code behind your back!
/flamebait

On Mon, 11 Dec 2000 [EMAIL PROTECTED] wrote:

 After looking on JBuilder 4 Enterprise im dissapointed. The editor is huge,
 but JSP support is really bad, + EJB support is virtually not there. For a
 påroduct that expensive i recomend you to stay FAR away from it, its not
 worth it.
 
 Visual Cafe is sold from webgain (See webgain studio, looks like a good
 package)..
 
 Forte Internet edition actually support Enterprise development just as good
 as JBuilder, only the CVS support in forte is good enough to work against a
 pserver, JBuilder dont have support for notification/edit-unedit + branching
 + some basic cvs commands like add and so on, so the CVS support JBuilder
 claims to have is just on paper nothing else.
 
 To use any Enterprise IDE i would recomend at least 512 MB ram and maby
 TogetherJ is just what you need, the Enterprise support in that product is
 Excelent, but its even more expensive than JBuilder :)
 
 Klaus Myrseth
 
 
 
   -Opprinnelig melding-
  Fra:J.T. Wenting [mailto:[EMAIL PROTECTED]] 
  Sendt:  11. desember 2000 13:19
  Til:Orion-Interest
  Emne:   RE: Off topic: development tools
  
  JBuilder is an excellent tool, especially version 4. Previous versions
  suffered from relatively poor performance and were prone to craching due
  to the JVM leaking memory at an alarming rate. While no problem with
  JBuilder per se, it did mean that JBuilder fell behind in the polls
  compared to IDEs that are not pure Java.
  JDeveloper is indeed based on JBuilder, but on a very early version (2.0 I
  think, maybe even 1.0). I do not think the current version should be seen
  as a direct clone of current JBuilder versions.
  
  I am using JBuilder for creating all kinds of Java apps, but not EJBs. We
  use iPlanet webserver for deployment which does not support EJB, so I
  would have nowhere to run them :) I tried getting Orion into the
  organization here but corporate standards say iPlanet and Websphere...
  
  Ant is not an IDE, but rather a replacement for ye olde make. You could
  look at Forte, but it is designed more for Swing GUIs with little support
  for serverside apps, and suffers heavily from memory bloat and leakage.
  If anyone knows who currently markets Visual Cafe? 
  I cannot recommend Visual Age for Java. It is huge, slow and a resource
  hog (better not use it on any machine with 256MB RAM, more is better).
  Also, I personally find the interface highly confusing and unintuitive. It
  is also linked more or less completely with Websphere alone.
  
  Jeroen T. Wenting
  [EMAIL PROTECTED]
  
  Murphy was wrong, things that can't go wrong will anyway 
  
  
   -Original Message-
  From:   [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] 
  Sent:   Monday, December 11, 2000 12:03
  To: Orion-Interest
  Subject:Off topic: development tools
  
  Hello everybody,
  
  I am in the process of selecting an IDE for developing J2EE
  applications on Orion. I would appreciate any advice on the subject. I've
  noticed from emails that JBuilder is quite popular. Other contenders that
  I know off are: Visual Café, JDeveloper (Oracle flavour of JBuilder),
  public domain tools like Ant, etc.
  
  The features I am mainly interested in are: ability to develop for
  different Apps Servers, visual debugging, validation of conformance with
  specifications (e.g. for EJBs). 
  
  I will be grateful for your comments and recommendations.
  
  Thanks,
  Jarek Skreta
  
  
 
 





RE: Off topic: development tools

2000-12-11 Thread Frank Eggink

Visual Cafe is rebranded as WebGain and sold by Bea.

My 2$cts: I use TextPad, which is pretty convenient for editing, compiling 
and very fast and stable as you can't talk about bloat with that product (= 
still an understatement). For the more complex build procedures I'm using 
'ant', as it is the only tool I know off that can handle pretty complex 
stuff.

I use Forte for debugging only. I can imagine you would opt for other 
product, as it is not too fast and it crashes every now and then (though I 
had more trouble with some of the other tools).

Not crashing is by the way also one of the TextPad virtues.

Checking for EJB compliance a.o.??? Doesn't the compiler do that?

Frank


On Monday, December 11, 2000 1:19 PM, J.T. Wenting 
[SMTP:[EMAIL PROTECTED]] wrote:
 JBuilder is an excellent tool, especially version 4. Previous versions 
suffered from relatively poor performance and were prone to craching due to 
the JVM leaking memory at an alarming rate. While no problem with JBuilder 
per se, it did mean that JBuilder fell behind in the polls compared to IDEs 
that are not pure Java.
 JDeveloper is indeed based on JBuilder, but on a very early version (2.0 
I think, maybe even 1.0). I do not think the current version should be seen 
as a direct clone of current JBuilder versions.

 I am using JBuilder for creating all kinds of Java apps, but not EJBs. We 
use iPlanet webserver for deployment which does not support EJB, so I would 
have nowhere to run them :) I tried getting Orion into the organization 
here but corporate standards say iPlanet and Websphere...

 Ant is not an IDE, but rather a replacement for ye olde make. You could 
look at Forte, but it is designed more for Swing GUIs with little support 
for serverside apps, and suffers heavily from memory bloat and leakage.
 If anyone knows who currently markets Visual Cafe?
 I cannot recommend Visual Age for Java. It is huge, slow and a resource 
hog (better not use it on any machine with 256MB RAM, more is better). 
Also, I personally find the interface highly confusing and unintuitive. It 
is also linked more or less completely with Websphere alone.

 Jeroen T. Wenting
 [EMAIL PROTECTED]

 Murphy was wrong, things that can't go wrong will anyway


  -Original Message-
 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 11, 2000 12:03
 To:   Orion-Interest
 Subject:  Off topic: development tools

 Hello everybody,

 I am in the process of selecting an IDE for developing J2EE applications 
on Orion. I would appreciate any advice on the subject. I've noticed from 
emails that JBuilder is quite popular. Other contenders that I know off 
are: Visual Cafe, JDeveloper (Oracle flavour of JBuilder), public domain 
tools like Ant, etc.

 The features I am mainly interested in are: ability to develop for 
different Apps Servers, visual debugging, validation of conformance with 
specifications (e.g. for EJBs).

 I will be grateful for your comments and recommendations.

 Thanks,
 Jarek Skreta

 
 application/ms-tnef


RE: Anyone help me of Javamail ?

2000-12-11 Thread Jason Boehle

Try looking for information here:
http://java.sun.com/products/javamail/

Jason Boehle
[EMAIL PROTECTED]

-Original Message-
From: ureyurey [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 10, 2000 11:43 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Anyone help me of Javamail ?


hi,
i'm trying to send  recieve mails using javamail api 
ejb.
pls..., anyone help me out.
write in details...
thanks

yoursUrey



__

==ÐÂÀËÃâ·Ñµç
×ÓÓÊÏä http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/




RE: Off topic: development tools

2000-12-11 Thread Jason Boehle

JBuilder 4 is quite nice.  Visual Cafe crashes all the time, I *definitely*
cannot recommend it.  JDeveloper is based off of JBuilder, but not the 4.0
version, so I probably couldn't recommend using that either.  All that being
said, I use a combination of 3 tools: Visual SlickEdit for editing, Ant for
building/packaging, and Karmira BugSeeker for debugging.  I've found that
Karmira will support whatever distributed debugging needs you have by using
remote debugging, and it's really quite a nice debugger, particularly for
the cost of only $200US.  As far as validation to the EJB specs (I assume
you mean generating the deployment descriptors), I really don't have much
experience in that arena, as I have been hand-coding all of mine so far.

Jason Boehle
[EMAIL PROTECTED]

  -Original Message-
 From: Jarek Skreta [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 11, 2000 5:03 AM
 To:   Orion-Interest
 Subject:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 




RE: Off topic: development tools

2000-12-11 Thread Rob Lapensee

Which begs the question,

Did you get Visual Age for Java to work with Orion, in particular debugging
EJB's?

Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
www.delfour.com
[EMAIL PROTECTED]

-Original Message-
From: Mario Scondo [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 9:15 AM
To: Orion-Interest
Subject: AW: Off topic: development tools

Hello,

I am using VisualAge for Java. It has a nice integration of external
APIs and Applicationservers. Visual Debuging and an integrated VCS are
supported. You have access to every project without loading it
manually...

Mario

  -Ursprüngliche Nachricht-
 Von:  [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 11. Dezember 2000 12:03
 An:   Orion-Interest
 Betreff:  Off topic: development tools

 Hello everybody,

 I am in the process of selecting an IDE for developing J2EE
 applications on Orion. I would appreciate any advice on the subject.
 I've noticed from emails that JBuilder is quite popular. Other
 contenders that I know off are: Visual Café, JDeveloper (Oracle
 flavour of JBuilder), public domain tools like Ant, etc.

 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance
 with specifications (e.g. for EJBs).

 I will be grateful for your comments and recommendations.

 Thanks,
 Jarek Skreta







Distributed EJB's

2000-12-11 Thread Karsten Beving

Hi.

I have two Orion-Server running on two different PCs. I want to lookup a
bean on the other Orion-Server.
Look at this:

PC  PC
Orion   Orion
lookup  bean, that would connect.


best thanks

- Karsten -




RE: Off topic: development tools

2000-12-11 Thread Kevin Wang

We were using VisualCafe 4.0 enterprise but had to buy JBuilder 4 enterprise
for JSP debugging, something lacking in VisualCafe. If you have web tier
components (JSP, Servlet, HTML, XML, JavaScript...) in your project,
JBuilder is your best tool.

VisualCafe suffers from the same drawbacks VisualAge for Java has, as
pointed out earlier.

  -Original Message-
 From: Jarek Skreta [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 11, 2000 5:03 AM
 To:   Orion-Interest
 Subject:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 




RE: Off topic: development tools

2000-12-11 Thread Kevin Gaasch


Webgain now owns Visual Cafe.  Excellent tool.
--
Kevin E. Gaasch
Anderson Merchandisers, Inc.
Java Application Development
Lotus Notes Development
[EMAIL PROTECTED]
(806)376-6251 ext. 4819
(800)999-0904 ext. 4819






Default transaction isolation level

2000-12-11 Thread David Ekholm

What is the default transaction isolation level for Orionserver? I would
like to be able to specify this in datasources.xml, but it seems it is only
specifiable in orion-ejb.xml, only pertaining to CMP beans and not session
beans.
The way think it works, Orion default to "Serializable" as CMP beans seem to
obtain exclusive lock when simple getter methods are invoked. A too
pessimistic approach IMHO (In my case this causes DeadlockExceptions)

/David




"The Las Vegas of Online Gaming" David Ekholm
System Architect
Hammarby Kajväg 14, 120 30 Stockholm
tel: +46 (0)8 55 69 67 11
mob: +46 (0)70 486 77 38
fax: +46 (0)8 55 69 67 07
icq: 410993 




Re: SV: Off topic: development tools

2000-12-11 Thread Derek Akers



Ah, unix programmers ;P Nothing is wrong with 
this approach, however I've had quite alot of success with IBM Visual Age for 
Java, as well. Bit of a memory hog, being java based, but excellent for 
developing code. jsp programming I simply do in HomeSite v4.5. 
Reliable, cost-effective combination.

Derek AkersSenior Software ArchitectEldan 
Softwarewww.eldan.com


- Original Message - 
From: "Hani Suleiman" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 9:00 
AM
Subject: Re: SV: Off topic: development 
tools
flamebaitOf course, you could always do what real men/women 
do and use vi/emacs,that way you never play the silly version/feature/vendor 
game, and canrest easy at night knowing that your java code is all yours, 
and that notool has done horrible things to you and your code behind your 
back!/flamebaitOn Mon, 11 Dec 2000 [EMAIL PROTECTED] 
wrote: After looking on JBuilder 4 Enterprise im dissapointed. The 
editor is huge, but JSP support is really bad, + EJB support is 
virtually not there. For a påroduct that expensive i recomend you to 
stay FAR away from it, its not worth it.  Visual Cafe is 
sold from webgain (See webgain studio, looks like a good 
package)..  Forte Internet edition actually support Enterprise 
development just as good as JBuilder, only the CVS support in forte is 
good enough to work against a pserver, JBuilder dont have support for 
notification/edit-unedit + branching + some basic cvs commands like add 
and so on, so the CVS support JBuilder claims to have is just on paper 
nothing else.  To use any Enterprise IDE i would recomend at 
least 512 MB ram and maby TogetherJ is just what you need, the 
Enterprise support in that product is Excelent, but its even more 
expensive than JBuilder :)  Klaus Myrseth  
   -Opprinnelig melding-  Fra: 
J.T. Wenting [mailto:[EMAIL PROTECTED]]   Sendt: 11. desember 
2000 13:19  Til: Orion-Interest  Emne: RE: Off topic: 
development toolsJBuilder is an excellent tool, 
especially version 4. Previous versions  suffered from relatively 
poor performance and were prone to craching due  to the JVM leaking 
memory at an alarming rate. While no problem with  JBuilder per se, 
it did mean that JBuilder fell behind in the polls  compared to IDEs 
that are not pure Java.  JDeveloper is indeed based on JBuilder, but 
on a very early version (2.0 I  think, maybe even 1.0). I do not 
think the current version should be seen  as a direct clone of 
current JBuilder versions.I am using JBuilder for 
creating all kinds of Java apps, but not EJBs. We  use iPlanet 
webserver for deployment which does not support EJB, so I  would 
have nowhere to run them :) I tried getting Orion into the  
organization here but corporate standards say iPlanet and Websphere... 
   Ant is not an IDE, but rather a replacement for ye olde make. 
You could  look at Forte, but it is designed more for Swing GUIs 
with little support  for serverside apps, and suffers heavily from 
memory bloat and leakage.  If anyone knows who currently markets 
Visual Cafe?   I cannot recommend Visual Age for Java. It is huge, 
slow and a resource  hog (better not use it on any machine with 
256MB RAM, more is better).  Also, I personally find the 
interface highly confusing and unintuitive. It  is also linked more 
or less completely with Websphere alone.Jeroen T. 
Wenting  [EMAIL PROTECTED]Murphy was wrong, things that can't go wrong will 
anyway   -Original 
Message-  From: [EMAIL PROTECTED]  [mailto:[EMAIL PROTECTED]]   
Sent: Monday, December 11, 2000 12:03  To: Orion-Interest 
 Subject: Off topic: development toolsHello 
everybody,I am in the process of selecting an IDE 
for developing J2EE  applications on Orion. I would appreciate any 
advice on the subject. I've  noticed from emails that JBuilder is 
quite popular. Other contenders that  I know off are: Visual Café, 
JDeveloper (Oracle flavour of JBuilder),  public domain tools like 
Ant, etc.The features I am mainly interested in are: 
ability to develop for  different Apps Servers, visual debugging, 
validation of conformance with  specifications (e.g. for EJBs). 
I will be grateful for your comments and 
recommendations.Thanks,  Jarek 
Skreta  



Connection already closed

2000-12-11 Thread Johan Fredriksson



I keep on getting this nasty message every now and 
then... It disappears on reboot and on opening/closing the Sybase Central 
software...

java.sql.SQLException: JZ0C0: Connection is already 
closed. at 
com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:439) 
at 
com.sybase.jdbc2.jdbc.SybConnection.checkConnection(SybConnection.java:1519) 
at 
com.sybase.jdbc2.jdbc.SybConnection.getWarnings(SybConnection.java:936) 
at 
com.sybase.jdbc2.tds.Tds.doLogin(Tds.java:503) 
at 
com.sybase.jdbc2.tds.Tds.login(Tds.java:349) 
at 
com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:213) 
at 
com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:190) 
at 
com.sybase.jdbc2.jdbc.SybConnection.init(SybConnection.java:169) 
at 
com.sybase.jdbc2.jdbc.SybConnection.init(SybConnection.java:122) 
at 
com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:175) 
at 
com.evermind.sql.DriverManagerDataSource.getConnection(JAX) 
at 
com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConnection(JAX) 
at 
com.evermind.sql.OrionPooledDataSource.eh(JAX) 
at 
com.evermind.sql.OrionPooledDataSource.d3(JAX) 
at 
com.evermind.sql.OrionPooledDataSource.getConnection(JAX) 
at 
se.flowinteractive.common.db.DB.getConnection(DB.java:71) 
at 
se.flowinteractive.watson.bb.beans.BBCache.reCache(BBCache.java:121) 
at 
se.flowinteractive.watson.bb.beans.BBCache.init(BBCache.java:53) 
at 
se.flowinteractive.watson.bb.servlets.BBStartUpServlet.init(BBStartUpServlet.java:19) 
at 
javax.servlet.GenericServlet.init(GenericServlet.java) 
at 
com.evermind.server.http.HttpApplication.wo(JAX) 
at 
com.evermind.server.http.HttpApplication.v6(JAX) 
at 
com.evermind.server.http.HttpApplication.wh(JAX) 
at 
com.evermind.server.http.HttpApplication.vs(JAX) 
at 
com.evermind.server.http.HttpApplication.init(JAX) 
at 
com.evermind.server.Application.ue(JAX) 
at 
com.evermind.server.http.ej.ue(JAX) 
at 
com.evermind.server.http.ei.um(JAX) 
at 
com.evermind.server.http.ei.f9(JAX) 
at 
com.evermind.server.http.ej.uq(JAX) 
at 
com.evermind.server.http.ej.f9(JAX) 
at 
com.evermind.server.ApplicationServer.apd(JAX) 
at 
com.evermind.server.ApplicationServer.f9(JAX) 
at com.evermind.server.hc.run(JAX) 
at java.lang.Thread.run(Unknown 
Source) at 
com.evermind.util.f.run(JAX)

Line 71 in DB.java reads :

return 
ds.getConnection();
and ds is initialized by : 

static {String dbsource = 
"jdbc/BBPooledDS"; try 
{javax.naming.Context ctx = new 
javax.naming.InitialContext(); 
ds = 
(javax.sql.DataSource)ctx.lookup(dbsource); 
}catch(javax.naming.NamingException 
namExc) {ds = null; 
throw new 
java.lang.RuntimeException("Failed to get 
datasource!!");}}


Why am I getting a connection already closed? ( its 
on startup of the system... loadonstartup set on BBStartUpServlet).

The servlet loads "everything"from the 
database and store them in "cache" using singleton pattern, which means it 
happens on the first database access from the application. The connection should 
not be closed already, but maybe it is not inited yet?

regards



Johan Fredriksson


R: Distributed EJB's

2000-12-11 Thread DeVincentiis Giustino

Look at
http://www.mail-archive.com/orion-interest@orionserver.com/msg02763.html

Giustino De Vincentiis
e-mail: [EMAIL PROTECTED]

-Messaggio originale-
Da: Karsten Beving [mailto:[EMAIL PROTECTED]]
Inviato: lunedì 11 dicembre 2000 15.16
A: Orion-Interest
Oggetto: Distributed EJB's


Hi.

I have two Orion-Server running on two different PCs. I want to lookup a
bean on the other Orion-Server.
Look at this:

PC  PC
Orion   Orion
lookup  bean, that would connect.


best thanks

- Karsten -




Re: EJB2.0 Generated class uncompilable

2000-12-11 Thread Peter Pontbriand


- Original Message -
From: "Tim Drury" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, December 08, 2000 5:39 PM
Subject: RE: EJB2.0 Generated class uncompilable



 Since your bean is called "Foo" I'm going to guess
 that it is a trivial "Hello World" bean.  Why don't
 you post the bean code and the ejb-jar.xml (don't
 attach/zip/etc - just dump it)?

 -tim

Well, it is rather trivial at the moment. That makes the deployments errors
all the more frustrating, of course.
BTW, blowing away the entire deployment does _not_ eliminate the deploytment
problems - that was one of the first things we tried.

Here's the current state of the source:

Foo.java is:

-
/* Generated by Together */

package com.foo.components.foo.bean;

import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.CreateException;
import java.sql.SQLException;
import javax.ejb.FinderException;
import java.util.Set;

import com.canlink.components.base.GUID;
import com.foo.components.foo.*;

public abstract class FooBean implements EntityBean, FooBusiness
{
private EntityContext ejbContext;
private transient boolean isModified = false;

public void setEntityContext(EntityContext context) throws
RemoteException, EJBException
{
ejbContext = context;
}

public void unsetEntityContext() throws RemoteException, EJBException
{
ejbContext = null;
}

public void ejbActivate() throws RemoteException, EJBException
{
}

public void ejbPassivate() throws RemoteException, EJBException
{
}

public void ejbRemove() throws RemoteException, EJBException
{
}

public void ejbStore() throws RemoteException, EJBException
{
isModified = false;
}

public void ejbLoad() throws RemoteException, EJBException
{
}

public EntityPK ejbCreate(Set bars)
throws
CreateException,
EJBException,
RemoteException,
SQLException
{
 setIdentity(GUID.getNewGUID());
setBars(bars);
isModified = true;
return null;
}

public void ejbPostCreate(Set bars)
throws CreateException, EJBException, RemoteException, SQLException
{}

 public boolean isModified()
{
return isModified;
}

abstract public Set getBars();

abstract protected void setBars(Set bars);

 public FooValueObject get()
throws RemoteException
{
  return new FooValueObject(
(EntityPK)ejbContext.getPrimaryKey(),
getBars());
}

 public FooValueObject set(FooValueObject mutator)
throws  RemoteException
{
setBars(mutator.getBars());
isModified = true;
return get();
}

abstract public long getIdentity();

abstract protected void setIdentity(long identity);

}
-

Bar.java is:
-
/* Generated by Together */

package com.foo.components.foo.bean;

import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.CreateException;
import java.sql.SQLException;
import javax.ejb.FinderException;
import java.util.Set;

import com.canlink.components.base.GUID;
import com.foo.components.foo.*;

public abstract class BarBean implements BarBusiness, EntityBean
{
private EntityContext ejbContext;
private boolean isModified = false;

public void setEntityContext(EntityContext context) throws
RemoteException, EJBException
{
ejbContext = context;
}

public void unsetEntityContext() throws RemoteException, EJBException
{
ejbContext = null;
}

public void ejbActivate() throws RemoteException, EJBException
{
}

public void ejbPassivate() throws RemoteException, EJBException
{
}

public void ejbRemove() throws RemoteException, EJBException
{
}

public void ejbStore() throws RemoteException, EJBException
{
isModified = false;
}

public void ejbLoad() throws RemoteException, EJBException
{
}

public EntityPK ejbCreate(Set foos)
throws
CreateException,
EJBException,
RemoteException,
SQLException
{
 setIdentity(GUID.getNewGUID());
isModified = true;
return null;
}

public void ejbPostCreate(Set foos)
throws CreateException, EJBException, RemoteException, SQLException
{}

 public boolean isModified()
{
return isModified;
}

abstract public Set getFoos();

abstract protected void setFoos(Set foos);

 public BarValueObject get()
throws RemoteException
{
return new BarValueObject(
(EntityPK)ejbContext.getPrimaryKey(),
getFoos());
}

public BarValueObject set(BarValueObject mutator)

urgent: problem with XSL examples

2000-12-11 Thread Pozzi Davide



 Hello to all.Please help me 
with this problem ASAP.I'm interested in Orion XSLT features, so, after 
downloading Orion version1.4.0 I tried to execute the XML / XSL examples 
contained in thedistribution. I started the web server and type in IE5 
address barhttp://localhost/examples/xsl, but IE5 
gives me the HTTP error 403: "you arenot authorized to view this page". The 
JSP examples(http://localhost/examples/jsp/) work 
fine instead.Where am I doing wrong ?Thank you in 
advance.Bye.Davide


AW: Off topic: development tools

2000-12-11 Thread Mario Scondo

Hello,

I am using VisualAge for Java. It has a nice integration of external APIs
and Applicationservers. Visual Debuging and an integrated VCS are supported.
You have access to every project without loading it manually...

Mario

  -Ursprüngliche Nachricht-
 Von:  [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 11. Dezember 2000 12:03
 An:   Orion-Interest
 Betreff:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 

 winmail.dat


RE: Off topic: development tools

2000-12-11 Thread Juan Lorandi (Chile)

Again, I´d like to recomend for evaluation Pramati Studio 2, with a JPDA
debugger, support for JSP compilation,
EJB support + wizards, Home  Remote interfaces wizard, a built in J2EE full
complaint server  facilities to make as
many packages as you want... The descriptor generation is completely
commanded via a nice GUI, which enables non-veterans
to speed up the learning curve; It's also quite fast in low memory machines
and has an API for add-in, which makes it as
extensible as NetBeans/Forte

Licences are about $1180 per seat with one year support, and let me tell you
this is unrated support in the industry...
I get responses(with solutions in them!!!) within 24 hours.

This is a small company from India, and I'd choose them over the 'Big' names
every day of the week and twice on sundays

My 2c,

JP

PS: I don´t work for Pramati

-Original Message-
From: Jason Boehle [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 12:05
To: Orion-Interest
Subject: RE: Off topic: development tools


JBuilder 4 is quite nice.  Visual Cafe crashes all the time, I *definitely*
cannot recommend it.  JDeveloper is based off of JBuilder, but not the 4.0
version, so I probably couldn't recommend using that either.  All that being
said, I use a combination of 3 tools: Visual SlickEdit for editing, Ant for
building/packaging, and Karmira BugSeeker for debugging.  I've found that
Karmira will support whatever distributed debugging needs you have by using
remote debugging, and it's really quite a nice debugger, particularly for
the cost of only $200US.  As far as validation to the EJB specs (I assume
you mean generating the deployment descriptors), I really don't have much
experience in that arena, as I have been hand-coding all of mine so far.

Jason Boehle
[EMAIL PROTECTED]

  -Original Message-
 From: Jarek Skreta [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, December 11, 2000 5:03 AM
 To:   Orion-Interest
 Subject:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 




RE: Off topic: development tools

2000-12-11 Thread Juan Lorandi (Chile)

Consider evaluating Pramati Studio 2

http://www.pramati.com

It's good and their support rulez!

JP

  -Original Message-
 From: Jarek Skreta [mailto:[EMAIL PROTECTED]] 
 Sent: Lunes, 11 de Diciembre de 2000 8:03
 To:   Orion-Interest
 Subject:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE applications
 on Orion. I would appreciate any advice on the subject. I've noticed from
 emails that JBuilder is quite popular. Other contenders that I know off
 are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
 tools like Ant, etc.
 
 The features I am mainly interested in are: ability to develop for
 different Apps Servers, visual debugging, validation of conformance with
 specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 




RE: SV: Off topic: development tools

2000-12-11 Thread Juan Lorandi (Chile)

Again, except for not having intellisense (JBuilder  Forte have it), check
out Pramati Studio
I just code my bean and a wizard generates my home  remote intefaces...
I can package apps easily
And have an all in one solution
Another 'minus' may be the lack of an official CVS module, but all and all,
it's the best EJB IDE I've tried

JP

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 12:33
To: Orion-Interest
Subject: SV: SV: Off topic: development tools


Youre right is flamebait :)

I do use vi aswell, but for an enterprise editor that should save you work,
JBuilder dont work, since there is no synchronization of
remote/home/bean/deploymentdescriptor + no database generation of
Containermanaged beans I can't see the point using that much money on an
editor. Im sure there are other tools out there doing the job a whole lot
better. To say something about the editor in JBuilder, its very fast and
lightwaight, the best one ive tried. And they have an excelent deployment
descriptor editor for EJB, but hey its not the deployment descriptor thats
the prob, its all that code editing :)

If anyone have any tips on IDEs that support synching of EJBs (remote, home,
bean, pk, deployment-descriptor) pls post a note on this list :)

My department is looking for one. We found one and that is TogetherJ, only
TogetherJ dont support GUI development other than plain coding, but hey
thats timeconsuming compared to dd GUI development.

Klaus Myrseth

-Opprinnelig melding-
Fra: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sendt: 11. desember 2000 15:01
Til: Orion-Interest
Emne: Re: SV: Off topic: development tools


flamebait
Of course, you could always do what real men/women do and use vi/emacs,
that way you never play the silly version/feature/vendor game, and can
rest easy at night knowing that your java code is all yours, and that no
tool has done horrible things to you and your code behind your back!
/flamebait

On Mon, 11 Dec 2000 [EMAIL PROTECTED] wrote:

 After looking on JBuilder 4 Enterprise im dissapointed. The editor is
huge,
 but JSP support is really bad, + EJB support is virtually not there. For a
 påroduct that expensive i recomend you to stay FAR away from it, its not
 worth it.
 
 Visual Cafe is sold from webgain (See webgain studio, looks like a good
 package)..
 
 Forte Internet edition actually support Enterprise development just as
good
 as JBuilder, only the CVS support in forte is good enough to work against
a
 pserver, JBuilder dont have support for notification/edit-unedit +
branching
 + some basic cvs commands like add and so on, so the CVS support JBuilder
 claims to have is just on paper nothing else.
 
 To use any Enterprise IDE i would recomend at least 512 MB ram and maby
 TogetherJ is just what you need, the Enterprise support in that product is
 Excelent, but its even more expensive than JBuilder :)
 
 Klaus Myrseth
 
 
 
   -Opprinnelig melding-
  Fra:J.T. Wenting [mailto:[EMAIL PROTECTED]] 
  Sendt:  11. desember 2000 13:19
  Til:Orion-Interest
  Emne:   RE: Off topic: development tools
  
  JBuilder is an excellent tool, especially version 4. Previous versions
  suffered from relatively poor performance and were prone to craching due
  to the JVM leaking memory at an alarming rate. While no problem with
  JBuilder per se, it did mean that JBuilder fell behind in the polls
  compared to IDEs that are not pure Java.
  JDeveloper is indeed based on JBuilder, but on a very early version (2.0
I
  think, maybe even 1.0). I do not think the current version should be
seen
  as a direct clone of current JBuilder versions.
  
  I am using JBuilder for creating all kinds of Java apps, but not EJBs.
We
  use iPlanet webserver for deployment which does not support EJB, so I
  would have nowhere to run them :) I tried getting Orion into the
  organization here but corporate standards say iPlanet and Websphere...
  
  Ant is not an IDE, but rather a replacement for ye olde make. You could
  look at Forte, but it is designed more for Swing GUIs with little
support
  for serverside apps, and suffers heavily from memory bloat and leakage.
  If anyone knows who currently markets Visual Cafe? 
  I cannot recommend Visual Age for Java. It is huge, slow and a resource
  hog (better not use it on any machine with 256MB RAM, more is better).
  Also, I personally find the interface highly confusing and unintuitive.
It
  is also linked more or less completely with Websphere alone.
  
  Jeroen T. Wenting
  [EMAIL PROTECTED]
  
  Murphy was wrong, things that can't go wrong will anyway 
  
  
   -Original Message-
  From:   [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] 
  Sent:   Monday, December 11, 2000 12:03
  To: Orion-Interest
  Subject:Off topic: development tools
  
  Hello everybody,
  
  I am in the process of selecting an IDE for developing J2EE
  

RE: Distributed EJB's

2000-12-11 Thread Juan Lorandi (Chile)

check RMI-howto, you must tell Orion A that it may have to look up beans in
a different server...

-Original Message-
From: Karsten Beving [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 12:16
To: Orion-Interest
Subject: Distributed EJB's


Hi.

I have two Orion-Server running on two different PCs. I want to lookup a
bean on the other Orion-Server.
Look at this:

PC  PC
Orion   Orion
lookup  bean, that would connect.


best thanks

- Karsten -




Re: SSL Singletons

2000-12-11 Thread Ismael Blesa Part

Hi Todd, I have also the same problem. Do you know how singleton are
treated by the Orion LoadBalancer. Are these classes replicated on all
the OrionServers?

Todd Renner wrote:

 We recently implemented SSL using a Thawte cert.  We
 have one ear file that is used by both the secure and non
 secure web sites with the session shared between them.
 We have several singleton classes used to hold *lots* of
 data which gets used throughout the application.  We
 also have our own connection pooling.  By implementing
 SSL this way have we created two instances of all our
 singletons and pooling classes?   If this is the case then
 we are wasting resources and need to come up with a
 better solution.   Any thoughts?Thanks much!

  Todd Renner
  Bell  Howell





RE: Default transaction isolation level

2000-12-11 Thread Juan Lorandi (Chile)

only in direct data access the isolation is valid, thus, only Entities may
have an isolation setted
the isolation level depends on the JTA implementation and varies from DB to
DB, as also the different isolation levels supported
if you´re using Session Beans to access the DB, you're using JDBC code, and
thus, you may set the isolation level desired via JDBC

The 'pessimistic' approach isn't truly so... the main reason this
DeadlockExceptions raise is due to the Entity cache layer in between your
code and the actual DB. May I reccomend you play around with
validity-timeout attrib in orion-ejb-jar.xml? it will reduce DB hits 2
orders of magnitude and surpass all those Deadlock exceptions

HTH

JP

-Original Message-
From: David Ekholm [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 13:10
To: Orion-Interest
Subject: Default transaction isolation level


What is the default transaction isolation level for Orionserver? I would
like to be able to specify this in datasources.xml, but it seems it is only
specifiable in orion-ejb.xml, only pertaining to CMP beans and not session
beans.
The way think it works, Orion default to "Serializable" as CMP beans seem to
obtain exclusive lock when simple getter methods are invoked. A too
pessimistic approach IMHO (In my case this causes DeadlockExceptions)

/David




"The Las Vegas of Online Gaming" David Ekholm
System Architect
Hammarby Kajväg 14, 120 30 Stockholm
tel: +46 (0)8 55 69 67 11
mob: +46 (0)70 486 77 38
fax: +46 (0)8 55 69 67 07
icq: 410993 




RE: EJB2.0 Generated class uncompilable

2000-12-11 Thread Juan Lorandi (Chile)

geez! setBar is abstract
no abstract methods needed...

The container uses indeirection to implement DB code...

so, your get/set pair should look like:
//
public java.util.Set bars;
//
public Set getBars()
{
return bars;
}
public void setBars(Set bars)
{
this.bars = bars;
}

and so on for Identity, and all other fields

HTH

JP

-Original Message-
From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 11 de Diciembre de 2000 13:38
To: Orion-Interest
Subject: Re: EJB2.0 Generated class uncompilable



- Original Message -
From: "Tim Drury" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, December 08, 2000 5:39 PM
Subject: RE: EJB2.0 Generated class uncompilable



 Since your bean is called "Foo" I'm going to guess
 that it is a trivial "Hello World" bean.  Why don't
 you post the bean code and the ejb-jar.xml (don't
 attach/zip/etc - just dump it)?

 -tim

Well, it is rather trivial at the moment. That makes the deployments errors
all the more frustrating, of course.
BTW, blowing away the entire deployment does _not_ eliminate the deploytment
problems - that was one of the first things we tried.

Here's the current state of the source:

Foo.java is:

-
/* Generated by Together */

package com.foo.components.foo.bean;

import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.CreateException;
import java.sql.SQLException;
import javax.ejb.FinderException;
import java.util.Set;

import com.canlink.components.base.GUID;
import com.foo.components.foo.*;

public abstract class FooBean implements EntityBean, FooBusiness
{
private EntityContext ejbContext;
private transient boolean isModified = false;

public void setEntityContext(EntityContext context) throws
RemoteException, EJBException
{
ejbContext = context;
}

public void unsetEntityContext() throws RemoteException, EJBException
{
ejbContext = null;
}

public void ejbActivate() throws RemoteException, EJBException
{
}

public void ejbPassivate() throws RemoteException, EJBException
{
}

public void ejbRemove() throws RemoteException, EJBException
{
}

public void ejbStore() throws RemoteException, EJBException
{
isModified = false;
}

public void ejbLoad() throws RemoteException, EJBException
{
}

public EntityPK ejbCreate(Set bars)
throws
CreateException,
EJBException,
RemoteException,
SQLException
{
 setIdentity(GUID.getNewGUID());
setBars(bars);
isModified = true;
return null;
}

public void ejbPostCreate(Set bars)
throws CreateException, EJBException, RemoteException, SQLException
{}

 public boolean isModified()
{
return isModified;
}

abstract public Set getBars();

abstract protected void setBars(Set bars);

 public FooValueObject get()
throws RemoteException
{
  return new FooValueObject(
(EntityPK)ejbContext.getPrimaryKey(),
getBars());
}

 public FooValueObject set(FooValueObject mutator)
throws  RemoteException
{
setBars(mutator.getBars());
isModified = true;
return get();
}

abstract public long getIdentity();

abstract protected void setIdentity(long identity);

}
-

Bar.java is:
-
/* Generated by Together */

package com.foo.components.foo.bean;

import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.CreateException;
import java.sql.SQLException;
import javax.ejb.FinderException;
import java.util.Set;

import com.canlink.components.base.GUID;
import com.foo.components.foo.*;

public abstract class BarBean implements BarBusiness, EntityBean
{
private EntityContext ejbContext;
private boolean isModified = false;

public void setEntityContext(EntityContext context) throws
RemoteException, EJBException
{
ejbContext = context;
}

public void unsetEntityContext() throws RemoteException, EJBException
{
ejbContext = null;
}

public void ejbActivate() throws RemoteException, EJBException
{
}

public void ejbPassivate() throws RemoteException, EJBException
{
}

public void ejbRemove() throws RemoteException, EJBException
{
}

public void ejbStore() throws RemoteException, EJBException
{
isModified = false;
}

public void ejbLoad() throws RemoteException, EJBException
{
}

public EntityPK ejbCreate(Set foos)
throws
CreateException,
EJBException,
RemoteException,
SQLException
{
 setIdentity(GUID.getNewGUID());
isModified = true;

SV: SV: Off topic: development tools

2000-12-11 Thread Klaus . Myrseth

Youre right is flamebait :)

I do use vi aswell, but for an enterprise editor that should save you work,
JBuilder dont work, since there is no synchronization of
remote/home/bean/deploymentdescriptor + no database generation of
Containermanaged beans I can't see the point using that much money on an
editor. Im sure there are other tools out there doing the job a whole lot
better. To say something about the editor in JBuilder, its very fast and
lightwaight, the best one ive tried. And they have an excelent deployment
descriptor editor for EJB, but hey its not the deployment descriptor thats
the prob, its all that code editing :)

If anyone have any tips on IDEs that support synching of EJBs (remote, home,
bean, pk, deployment-descriptor) pls post a note on this list :)

My department is looking for one. We found one and that is TogetherJ, only
TogetherJ dont support GUI development other than plain coding, but hey
thats timeconsuming compared to dd GUI development.

Klaus Myrseth

-Opprinnelig melding-
Fra: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sendt: 11. desember 2000 15:01
Til: Orion-Interest
Emne: Re: SV: Off topic: development tools


flamebait
Of course, you could always do what real men/women do and use vi/emacs,
that way you never play the silly version/feature/vendor game, and can
rest easy at night knowing that your java code is all yours, and that no
tool has done horrible things to you and your code behind your back!
/flamebait

On Mon, 11 Dec 2000 [EMAIL PROTECTED] wrote:

 After looking on JBuilder 4 Enterprise im dissapointed. The editor is
huge,
 but JSP support is really bad, + EJB support is virtually not there. For a
 påroduct that expensive i recomend you to stay FAR away from it, its not
 worth it.
 
 Visual Cafe is sold from webgain (See webgain studio, looks like a good
 package)..
 
 Forte Internet edition actually support Enterprise development just as
good
 as JBuilder, only the CVS support in forte is good enough to work against
a
 pserver, JBuilder dont have support for notification/edit-unedit +
branching
 + some basic cvs commands like add and so on, so the CVS support JBuilder
 claims to have is just on paper nothing else.
 
 To use any Enterprise IDE i would recomend at least 512 MB ram and maby
 TogetherJ is just what you need, the Enterprise support in that product is
 Excelent, but its even more expensive than JBuilder :)
 
 Klaus Myrseth
 
 
 
   -Opprinnelig melding-
  Fra:J.T. Wenting [mailto:[EMAIL PROTECTED]] 
  Sendt:  11. desember 2000 13:19
  Til:Orion-Interest
  Emne:   RE: Off topic: development tools
  
  JBuilder is an excellent tool, especially version 4. Previous versions
  suffered from relatively poor performance and were prone to craching due
  to the JVM leaking memory at an alarming rate. While no problem with
  JBuilder per se, it did mean that JBuilder fell behind in the polls
  compared to IDEs that are not pure Java.
  JDeveloper is indeed based on JBuilder, but on a very early version (2.0
I
  think, maybe even 1.0). I do not think the current version should be
seen
  as a direct clone of current JBuilder versions.
  
  I am using JBuilder for creating all kinds of Java apps, but not EJBs.
We
  use iPlanet webserver for deployment which does not support EJB, so I
  would have nowhere to run them :) I tried getting Orion into the
  organization here but corporate standards say iPlanet and Websphere...
  
  Ant is not an IDE, but rather a replacement for ye olde make. You could
  look at Forte, but it is designed more for Swing GUIs with little
support
  for serverside apps, and suffers heavily from memory bloat and leakage.
  If anyone knows who currently markets Visual Cafe? 
  I cannot recommend Visual Age for Java. It is huge, slow and a resource
  hog (better not use it on any machine with 256MB RAM, more is better).
  Also, I personally find the interface highly confusing and unintuitive.
It
  is also linked more or less completely with Websphere alone.
  
  Jeroen T. Wenting
  [EMAIL PROTECTED]
  
  Murphy was wrong, things that can't go wrong will anyway 
  
  
   -Original Message-
  From:   [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] 
  Sent:   Monday, December 11, 2000 12:03
  To: Orion-Interest
  Subject:Off topic: development tools
  
  Hello everybody,
  
  I am in the process of selecting an IDE for developing J2EE
  applications on Orion. I would appreciate any advice on the subject.
I've
  noticed from emails that JBuilder is quite popular. Other contenders
that
  I know off are: Visual Café, JDeveloper (Oracle flavour of JBuilder),
  public domain tools like Ant, etc.
  
  The features I am mainly interested in are: ability to develop for
  different Apps Servers, visual debugging, validation of conformance with
  specifications (e.g. for EJBs). 
  
  I will be grateful for your comments and recommendations.
  
  Thanks,
  

RE: SV: Off topic: development tools

2000-12-11 Thread Jason Boehle

 If anyone have any tips on IDEs that support synching of EJBs (remote,
home,
 bean, pk, deployment-descriptor) pls post a note on this list :)

I haven't tried it, but you might look at EJBDoclet at
http://www.dreambean.com/ejbdoclet.html.  It seems cool enough.  :)  Plus, I
think you can get the code, so if it doesn't meet your needs, it gives you a
starting point.

Jason Boehle
[EMAIL PROTECTED]




RE: Off topic: development tools

2000-12-11 Thread J.T. Wenting

I just don't like it. I've used it for several months, and the C++ version
for a year and could not get the hang of it. The logic IBM uses is beyond
me, maybe. Also, the frequeny crashes and appalling performance didn't do
any good.

Jeroen T Wenting
[EMAIL PROTECTED]
ICQ UIN #9191966

It's the end of the world as we know it and I feel fine (Michael Stipe) 


  -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
 Sent: 11 December 2000 15:15
 To:   Orion-Interest
 Subject:  AW: Off topic: development tools
 
 Hello,
 
 I am using VisualAge for Java. It has a nice integration of 
 external APIs and Applicationservers. Visual Debuging and an 
 integrated VCS are supported. You have access to every 
 project without loading it manually...
 
 Mario
 
  -Ursprüngliche Nachricht-
 Von:  [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
 Gesendet: Montag, 11. Dezember 2000 12:03
 An:   Orion-Interest
 Betreff:  Off topic: development tools
 
 Hello everybody,
 
 I am in the process of selecting an IDE for developing J2EE 
 applications on Orion. I would appreciate any advice on the 
 subject. I've noticed from emails that JBuilder is quite 
 popular. Other contenders that I know off are: Visual Café, 
 JDeveloper (Oracle flavour of JBuilder), public domain tools 
 like Ant, etc.
 
 The features I am mainly interested in are: ability to 
 develop for different Apps Servers, visual debugging, 
 validation of conformance with specifications (e.g. for EJBs). 
 
 I will be grateful for your comments and recommendations.
 
 Thanks,
 Jarek Skreta
 
 

 winmail.dat


Re: EJB2.0 Generated class uncompilable

2000-12-11 Thread Peter Pontbriand

EJB2.0 DTD _is_ specified in ejb-jar.xml ...

 ejb-jar.xml is:
 -
 ?xml version="1.0"?
 !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
 JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"

P.Pontbriand
Canlink Interactive Technologies Inc.






RE: SV: Off topic: development tools

2000-12-11 Thread Tim Endres

 Again, except for not having intellisense (JBuilder  Forte have it), check
 out Pramati Studio
 I just code my bean and a wizard generates my home  remote intefaces...
 I can package apps easily
 And have an all in one solution
 Another 'minus' may be the lack of an official CVS module, but all and all,
 it's the best EJB IDE I've tried

Have you looked into jCVS http://trustice.com/java/jcvs/?

It has the ability to drive applications, so that when you
double click a file in jCVS, it opens in your application.
And jCVS monitors file status in real-time, so it always
reflects your files' update status. It is 100% Java and it
is open source.

tim.





RE: SV: Off topic: development tools

2000-12-11 Thread jbirchfield


EJBDoclet is awesome.  We have taken it and extended it to meet our needs.
It automatically generates the home, remote, the deployment descriptors,
and we also auto gen a utility
class that allows to access all of the availabe home objects.  Couldn't
recommend it higher!

James Birchfield

Ironmax
a better way to buy, sell and rent construction equipment
5 Corporate Center
9960 Corporate Campus Drive,
Suite 2000
Louisville, KY 40223


|+
||  Jason Boehle  |
||  [EMAIL PROTECTED]   |
||  Sent by:  |
||  owner-orion-interest@orion|
||  server.com|
|||
|||
||  12/11/00 02:04 PM |
||  Please respond to |
||  Orion-Interest|
|||
|+
  
---|
  |
   |
  |   To: Orion-Interest [EMAIL PROTECTED]  
   |
  |   cc:  
   |
  |   Subject: RE: SV: Off topic: development tools
   |
  
---|



 If anyone have any tips on IDEs that support synching of EJBs (remote,
home,
 bean, pk, deployment-descriptor) pls post a note on this list :)

I haven't tried it, but you might look at EJBDoclet at
http://www.dreambean.com/ejbdoclet.html.  It seems cool enough.  :)  Plus,
I
think you can get the code, so if it doesn't meet your needs, it gives you
a
starting point.

Jason Boehle
[EMAIL PROTECTED]









RE: Off topic: development tools

2000-12-11 Thread Joe Walnes

While we're in the mood for 'me too'

Together Control Center www.togethersoft.com is my main IDE/Modeller. I 
use it for initial analysis (use-cases, class-diagrams), through to design 
of system (db design, objects, patterns, frameworks, EJBs, interactions), 
then to actualy develop code, and finally through to deploying on Orion and 
debugging. Keeps me happy. I like it because it focuses on real enterprise 
app design.

Alongside it I use:
  ant - to aid in the build process
  jikes - to save time
  cvs - to control my code
  textpad/vi - because sometimes I just need to jump to the source without 
consuming 100mb memory :)
  homesite - for JSP development

-Joe Walnes

   -Original Message-
  From: Jarek Skreta [mailto:[EMAIL PROTECTED]]
  Sent: Lunes, 11 de Diciembre de 2000 8:03
  To:   Orion-Interest
  Subject:  Off topic: development tools
 
  Hello everybody,
 
  I am in the process of selecting an IDE for developing J2EE applications
  on Orion. I would appreciate any advice on the subject. I've noticed from
  emails that JBuilder is quite popular. Other contenders that I know off
  are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
  tools like Ant, etc.
 
  The features I am mainly interested in are: ability to develop for
  different Apps Servers, visual debugging, validation of conformance with
  specifications (e.g. for EJBs).
 
  I will be grateful for your comments and recommendations.
 
  Thanks,
  Jarek Skreta
 
 





RE: EJB2.0 Generated class uncompilable

2000-12-11 Thread Tim Drury


In EJB 2.0 gets/sets are declared abstract.
The container implements them for you.

-tim

 -Original Message-
 From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 11, 2000 1:42 PM
 To: Orion-Interest
 Subject: RE: EJB2.0 Generated class uncompilable
 
 
 geez! setBar is abstract
 no abstract methods needed...
 
 The container uses indeirection to implement DB code...
 
 so, your get/set pair should look like:
 //
 public java.util.Set bars;
 //
 public Set getBars()
 {
   return bars;
 }
 public void setBars(Set bars)
 {
   this.bars = bars;
 }
 
 and so on for Identity, and all other fields
 
 HTH
 
 JP
 
 -Original Message-
 From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
 Sent: Lunes, 11 de Diciembre de 2000 13:38
 To: Orion-Interest
 Subject: Re: EJB2.0 Generated class uncompilable
 
 
 
 - Original Message -
 From: "Tim Drury" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Friday, December 08, 2000 5:39 PM
 Subject: RE: EJB2.0 Generated class uncompilable
 
 
 
  Since your bean is called "Foo" I'm going to guess
  that it is a trivial "Hello World" bean.  Why don't
  you post the bean code and the ejb-jar.xml (don't
  attach/zip/etc - just dump it)?
 
  -tim
 
 Well, it is rather trivial at the moment. That makes the 
 deployments errors
 all the more frustrating, of course.
 BTW, blowing away the entire deployment does _not_ eliminate 
 the deploytment
 problems - that was one of the first things we tried.
 
 Here's the current state of the source:
 
 Foo.java is:
 
 -
 /* Generated by Together */
 
 package com.foo.components.foo.bean;
 
 import javax.ejb.EntityBean;
 import javax.ejb.EntityContext;
 import java.rmi.RemoteException;
 import javax.ejb.EJBException;
 import javax.ejb.CreateException;
 import java.sql.SQLException;
 import javax.ejb.FinderException;
 import java.util.Set;
 
 import com.canlink.components.base.GUID;
 import com.foo.components.foo.*;
 
 public abstract class FooBean implements EntityBean, FooBusiness
 {
 private EntityContext ejbContext;
 private transient boolean isModified = false;
 
 public void setEntityContext(EntityContext context) throws
 RemoteException, EJBException
 {
 ejbContext = context;
 }
 
 public void unsetEntityContext() throws RemoteException, 
 EJBException
 {
 ejbContext = null;
 }
 
 public void ejbActivate() throws RemoteException, EJBException
 {
 }
 
 public void ejbPassivate() throws RemoteException, EJBException
 {
 }
 
 public void ejbRemove() throws RemoteException, EJBException
 {
 }
 
 public void ejbStore() throws RemoteException, EJBException
 {
 isModified = false;
 }
 
 public void ejbLoad() throws RemoteException, EJBException
 {
 }
 
 public EntityPK ejbCreate(Set bars)
 throws
 CreateException,
 EJBException,
 RemoteException,
 SQLException
 {
  setIdentity(GUID.getNewGUID());
 setBars(bars);
 isModified = true;
 return null;
 }
 
 public void ejbPostCreate(Set bars)
 throws CreateException, EJBException, 
 RemoteException, SQLException
 {}
 
  public boolean isModified()
 {
 return isModified;
 }
 
 abstract public Set getBars();
 
 abstract protected void setBars(Set bars);
 
  public FooValueObject get()
 throws RemoteException
 {
   return new FooValueObject(
 (EntityPK)ejbContext.getPrimaryKey(),
 getBars());
 }
 
  public FooValueObject set(FooValueObject mutator)
 throws  RemoteException
 {
 setBars(mutator.getBars());
 isModified = true;
 return get();
 }
 
 abstract public long getIdentity();
 
 abstract protected void setIdentity(long identity);
 
 }
 -
 
 Bar.java is:
 -
 /* Generated by Together */
 
 package com.foo.components.foo.bean;
 
 import javax.ejb.EntityBean;
 import javax.ejb.EntityContext;
 import java.rmi.RemoteException;
 import javax.ejb.EJBException;
 import javax.ejb.CreateException;
 import java.sql.SQLException;
 import javax.ejb.FinderException;
 import java.util.Set;
 
 import com.canlink.components.base.GUID;
 import com.foo.components.foo.*;
 
 public abstract class BarBean implements BarBusiness, EntityBean
 {
 private EntityContext ejbContext;
 private boolean isModified = false;
 
 public void setEntityContext(EntityContext context) throws
 RemoteException, EJBException
 {
 ejbContext = context;
 }
 
 public void unsetEntityContext() throws RemoteException, 
 EJBException
 {
 ejbContext = null;
 }
 
 public void ejbActivate() throws RemoteException, EJBException
 {
 }
 
 public void ejbPassivate() throws RemoteException, EJBException
 {
 }
 
 

UserManagers

2000-12-11 Thread Juan Lorandi (Chile)

Guys, anybody has succesfully implemented en EJBUserManager ?
I have to deploy my app in a cluster and XMLUserManager won't do...

I' ve had, in the past, decompiled DataSourceUserManager and recompiled it
to fix the various bugs in the implementation, but regretably, I'm working
in a different country and don't have any of the src...

Anybody looked into EJBUserManager and knows it doesn't work as shipped
either? that info would help, as I would directly code my own Datasource
usermanager...

TIA

JP




RE: EJB2.0 Generated class uncompilable

2000-12-11 Thread Jeff Schnitzer

FYI, as a workaround, you can make bidirectional relationships work by
manually setting both sides of the relationship.  Orion currently seems
to treat a bidirectional relationship as two unidirectional
relationships, so everything works as long as you update both sides.

Assuming hypothetical entities foo and bar, with a 1-M relationship
foo-bar, the method Foo.addBar can look like this:

void addBar(Bar bar)// on Foo
{
this.getBars().add(bar);

// TODO: Remove this code when bidir relationships work 
try
{
bar.setFoo((Foo)ejbContext.getEJBObject());
}
catch (java.rmi.RemoteException ex)
{
throw new EJBException(ex);
}
}

Of course you get data duplication in the database, but it works :-)

Jeff Schnitzer
[EMAIL PROTECTED]

-Original Message-
From: Tim Drury [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 11, 2000 10:43 AM
To: Orion-Interest
Subject: RE: EJB2.0 Generated class uncompilable



I don't think we've ever cleared up whether
this is needed or not:

in ejb-jar.xml:
   entity
  cmp-version2.x/cmp-version
  ...

Your bar ejb seems to reference your foo ejb
and visa versa.  Bi-directional relationships
are in-the-works.  See bug #153 in Bugzilla.

-tim



 -Original Message-
 From: Peter Pontbriand [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 11, 2000 11:38 AM
 To: Orion-Interest
 Subject: Re: EJB2.0 Generated class uncompilable
 
 
 
 - Original Message -
 From: "Tim Drury" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Friday, December 08, 2000 5:39 PM
 Subject: RE: EJB2.0 Generated class uncompilable
 
 
 
  Since your bean is called "Foo" I'm going to guess
  that it is a trivial "Hello World" bean.  Why don't
  you post the bean code and the ejb-jar.xml (don't
  attach/zip/etc - just dump it)?
 
  -tim
 
 Well, it is rather trivial at the moment. That makes the 
 deployments errors
 all the more frustrating, of course.
 BTW, blowing away the entire deployment does _not_ eliminate 
 the deploytment
 problems - that was one of the first things we tried.
 
 Here's the current state of the source:
 
 Foo.java is:
 
 -
 /* Generated by Together */
 
 package com.foo.components.foo.bean;
 
 import javax.ejb.EntityBean;
 import javax.ejb.EntityContext;
 import java.rmi.RemoteException;
 import javax.ejb.EJBException;
 import javax.ejb.CreateException;
 import java.sql.SQLException;
 import javax.ejb.FinderException;
 import java.util.Set;
 
 import com.canlink.components.base.GUID;
 import com.foo.components.foo.*;
 
 public abstract class FooBean implements EntityBean, FooBusiness
 {
 private EntityContext ejbContext;
 private transient boolean isModified = false;
 
 public void setEntityContext(EntityContext context) throws
 RemoteException, EJBException
 {
 ejbContext = context;
 }
 
 public void unsetEntityContext() throws RemoteException, 
 EJBException
 {
 ejbContext = null;
 }
 
 public void ejbActivate() throws RemoteException, EJBException
 {
 }
 
 public void ejbPassivate() throws RemoteException, EJBException
 {
 }
 
 public void ejbRemove() throws RemoteException, EJBException
 {
 }
 
 public void ejbStore() throws RemoteException, EJBException
 {
 isModified = false;
 }
 
 public void ejbLoad() throws RemoteException, EJBException
 {
 }
 
 public EntityPK ejbCreate(Set bars)
 throws
 CreateException,
 EJBException,
 RemoteException,
 SQLException
 {
  setIdentity(GUID.getNewGUID());
 setBars(bars);
 isModified = true;
 return null;
 }
 
 public void ejbPostCreate(Set bars)
 throws CreateException, EJBException, 
 RemoteException, SQLException
 {}
 
  public boolean isModified()
 {
 return isModified;
 }
 
 abstract public Set getBars();
 
 abstract protected void setBars(Set bars);
 
  public FooValueObject get()
 throws RemoteException
 {
   return new FooValueObject(
 (EntityPK)ejbContext.getPrimaryKey(),
 getBars());
 }
 
  public FooValueObject set(FooValueObject mutator)
 throws  RemoteException
 {
 setBars(mutator.getBars());
 isModified = true;
 return get();
 }
 
 abstract public long getIdentity();
 
 abstract protected void setIdentity(long identity);
 
 }
 -
 
 Bar.java is:
 -
 /* Generated by Together */
 
 package com.foo.components.foo.bean;
 
 import javax.ejb.EntityBean;
 import javax.ejb.EntityContext;
 import java.rmi.RemoteException;
 import javax.ejb.EJBException;
 import javax.ejb.CreateException;
 import java.sql.SQLException;
 import javax.ejb.FinderException;
 import java.util.Set;
 
 import 

RE: Overwritting: orion-ejb-jar.xml

2000-12-11 Thread Scott Farquhar

See if this answers your question:
http://www.mail-archive.com/orion-interest%40orionserver.com/msg07429.html

You can package the orion-ejb-jar.xml in with your application.

--
From:  Tobias Streckel[SMTP:[EMAIL PROTECTED]]
Sent:  Monday, 11 December 2000 21:45
To:  Orion-Interest
Subject:  Overwritting: orion-ejb-jar.xml 

Hello,

I have a full functional ear-file.

The file was bind in orion. Orion deploys me the orion-ejb-jar.xml
file but
if I want to change it and restart the server the file will be
overwrite and
me changes will be lost!

If the are flag or option to use my settings???

Thanks

Tobi






RE: restarting orion-server

2000-12-11 Thread Michael S. Kelly

Have tried telneting into your server and executing the following at the
command prompt?

java -jar admin.jar ormi://localhost/ admin 123 -restart

"admin" is a user name with administration permissions and "123" is the
password (see the principals.xml config file).

I haven't tried this on a linux box, but it's very slick on Win2K.

-=michael=-

==
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Marcus
Lankenau
Sent: Friday, December 08, 2000 4:16 AM
To: Orion-Interest
Subject: restarting orion-server


Hi!

We are running our orion-process on debion linux and we wanna restart
the server remotely (since after deploying the application the ejbs are
not accessible). Has anyone managed to restart the orion-server from the
orionconsole? Wenn invoking 'restart' the server writes

Error starting RMI-Server: IO Error: Address already in use
Error starting HTTP-Server: Address already in use

When invoking 'shutdown' and then 'restart' there is no response after
the 'shutdown'.

Thx in advance
Marcus Lankenau





RE: Faster encryption

2000-12-11 Thread Michael S. Kelly

No, SSL will eat up the CPU.  It takes CPU cycles to do the encryption, and
the more the bits the greater the cost.  This is the reason that companies
like Intel have developed special hardware devices that will handle the
encryption step.

-=michael=-

==
 Michael S. Kelly [EMAIL PROTECTED]      _
 Axian, Inc.   [EMAIL PROTECTED]  // |_  __(_) ___  _ __
 4800 SW Griffith Dr., Ste. 202 //| |\\/ /| |/ _ \| '_ \
 Beaverton, OR  97005 USA _//_| | / / | | |_| | | | |
 Voice: (503)644-6106 x122   ((   //  |_|/_/\\|_|\_/|_|_| |_|
 Fax:   (503)643-8425 ``-''  ``-''
 http://www2.axian.com   Software Consulting and Training
==


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Ekholm
Sent: Monday, December 11, 2000 1:07 AM
To: Orion-Interest
Subject: Faster encryption


I noticed a TPS drop (transactions per second) of factor four when I
benchmarked my application using 128 bit SSL encryption (5 client threads)
compared to non-encrypted benchmarking. I know that the SSL layer is
pluggable in Orion, I use the standard one that comes with Orion 1.4.0.

Is there a faster implementation of SSL for Java/Orion out there, maybe a
native code solution? Or is the standard encryption package already using
native code for the most critical sections? I guess not, as I have used C++
packages for encryption previously and not noticed such CPU eating
behaviour.

/David


"The Las Vegas of Online Gaming" David Ekholm
System Architect
Hammarby Kajväg 14, 120 30 Stockholm
tel: +46 (0)8 55 69 67 11
mob: +46 (0)70 486 77 38
fax: +46 (0)8 55 69 67 07
icq: 410993






Re: Off topic: development tools

2000-12-11 Thread Christian Sell

BUT their support for servlets and JSP only goes as far as versions 2.1 /
1.0, according to their website. That is quite outdated, isnt it?

- Original Message -
From: "Juan Lorandi (Chile)" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 6:12 PM
Subject: RE: Off topic: development tools


 Again, I´d like to recomend for evaluation Pramati Studio 2, with a JPDA
 debugger, support for JSP compilation,
 EJB support + wizards, Home  Remote interfaces wizard, a built in J2EE
full
 complaint server  facilities to make as
 many packages as you want... The descriptor generation is completely
 commanded via a nice GUI, which enables non-veterans
 to speed up the learning curve; It's also quite fast in low memory
machines
 and has an API for add-in, which makes it as
 extensible as NetBeans/Forte

 Licences are about $1180 per seat with one year support, and let me tell
you
 this is unrated support in the industry...
 I get responses(with solutions in them!!!) within 24 hours.

 This is a small company from India, and I'd choose them over the 'Big'
names
 every day of the week and twice on sundays

 My 2c,

 JP

 PS: I don´t work for Pramati

 -Original Message-
 From: Jason Boehle [mailto:[EMAIL PROTECTED]]
 Sent: Lunes, 11 de Diciembre de 2000 12:05
 To: Orion-Interest
 Subject: RE: Off topic: development tools


 JBuilder 4 is quite nice.  Visual Cafe crashes all the time, I
*definitely*
 cannot recommend it.  JDeveloper is based off of JBuilder, but not the 4.0
 version, so I probably couldn't recommend using that either.  All that
being
 said, I use a combination of 3 tools: Visual SlickEdit for editing, Ant
for
 building/packaging, and Karmira BugSeeker for debugging.  I've found that
 Karmira will support whatever distributed debugging needs you have by
using
 remote debugging, and it's really quite a nice debugger, particularly for
 the cost of only $200US.  As far as validation to the EJB specs (I assume
 you mean generating the deployment descriptors), I really don't have much
 experience in that arena, as I have been hand-coding all of mine so far.

 Jason Boehle
 [EMAIL PROTECTED]

   -Original Message-
  From: Jarek Skreta [mailto:[EMAIL PROTECTED]]
  Sent: Monday, December 11, 2000 5:03 AM
  To: Orion-Interest
  Subject: Off topic: development tools
 
  Hello everybody,
 
  I am in the process of selecting an IDE for developing J2EE applications
  on Orion. I would appreciate any advice on the subject. I've noticed
from
  emails that JBuilder is quite popular. Other contenders that I know off
  are: Visual Café, JDeveloper (Oracle flavour of JBuilder), public domain
  tools like Ant, etc.
 
  The features I am mainly interested in are: ability to develop for
  different Apps Servers, visual debugging, validation of conformance with
  specifications (e.g. for EJBs).
 
  I will be grateful for your comments and recommendations.
 
  Thanks,
  Jarek Skreta
 
 






please help me, from yoursUrey

2000-12-11 Thread ureyurey

Dear Sir.
  Could you please tell  me how to use JavaMail API to send and  receive mails on 
Orion?
  Did the Orion provide the service of the SMTP,POP3...£¿
  What's required for us to use JavaMail API to send and receive mails on Orion?
and do I need to install a mail server to provide the service of SMTP,POP3 when i 
use JavaMail API to send and receive mails on  Orion£¿

Thanks a lot,
yoursUrey

- Original Message -
From: "Daniel C. DiCesare" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Monday, December 11, 2000 4:52 PM
Subject: Re: Anyone help me of Javamail ?


 I maybe able to help. What is the question?

 -Danno
 - Original Message -
 From: "ureyurey" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Monday, December 11, 2000 5:43 AM
 Subject: Anyone help me of Javamail ?


 hi,
 i'm trying to send  recieve mails using javamail api 
 ejb.
 pls..., anyone help me out.
 write in details...
 thanks

 yoursUrey



 __

 
==ETH;Acirc;Agrave;Euml;Atilde;acirc;¡¤Ntilde;micro;ccedil;
 ¡ÁOacute;Oacute;Ecirc;Iuml;auml; http://mail.sina.com.cn
 
ETH;Acirc;Agrave;Euml;Iacute;AElig;sup3;ouml;¡ãAcirc;Ocirc;Euml;para;Igrave;ETH;Aring;Iuml;cent;Ecirc;Ouml;raquo;¨²micro;atilde;sup2;yen;¡¤thorn;Icirc;ntilde;
 http://sms.sina.com.cn/



__

==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä 
http://mail.sina.com.cn
ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/




Re: please help me, from yoursUrey

2000-12-11 Thread Tim Endres

 Dear Sir.
   Could you please tell  me how to use JavaMail API to send and  receive mails on 
Orion?
   Did the Orion provide the service of the SMTP,POP3...£¿
   What's required for us to use JavaMail API to send and receive mails on Orion?
 and do I need to install a mail server to provide the service of SMTP,POP3
 when i use JavaMail API to send and receive mails on  Orion£¿

This has nothing to do with Orion, other than how to place the mail.jar and
archive.jar files, which has been addressed on this list before, and which
is archived for your reference. See the mailing list archives.

As for using JavaMail, I recommend that you start with the API JavaDocs and
the sample code provided with the JavaMail package, which you can download
from Sun.





Re: Faster encryption

2000-12-11 Thread James Manning

[David Ekholm]
 Is there a faster implementation of SSL for Java/Orion out there, maybe a
 native code solution? Or is the standard encryption package already using
 native code for the most critical sections? I guess not, as I have used C++
 packages for encryption previously and not noticed such CPU eating
 behaviour.

I've heard of ppl using openssl-based native code solutions, but SSLava
with hooks into native calls to dedicated encryption cards/devices is
going to make more sense for bigger sites (like Intel :)
-- 
James Manning [EMAIL PROTECTED]
GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7  9C8E A0BF B026 EEBB F6E4




RE: SV: Off topic: development tools

2000-12-11 Thread Chris Bartling

I'm using EJBDoclet and Apache Ant 1.2 for my EJB development with Orion.
Easy to setup and use, extensible (both EJBDoclet and Ant allow extension by
subclass/interface implementation).  I also use JUnit for all EJB unit tests
(testing home and remote interfaces) and integration tests.  Total cost: $0.
All of these tools are open source and support our lightweight development
process, loosely based on XP.

As for the IDE, I use UltraEdit-32 for Java files and HomeSite 4.5.1 for JSP
work.  All seems to work well together.  From my standpoint, I want a
repeatable deployment process, all these tools used in conjunction give me
that.

Just my $0.02 worth.

-- chris --


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Boehle
Sent: Monday, December 11, 2000 1:05 PM
To: Orion-Interest
Subject: RE: SV: Off topic: development tools


 If anyone have any tips on IDEs that support synching of EJBs (remote,
home,
 bean, pk, deployment-descriptor) pls post a note on this list :)

I haven't tried it, but you might look at EJBDoclet at
http://www.dreambean.com/ejbdoclet.html.  It seems cool enough.  :)  Plus, I
think you can get the code, so if it doesn't meet your needs, it gives you a
starting point.

Jason Boehle
[EMAIL PROTECTED]






Load balancing with Orion

2000-12-11 Thread anton

Guys,

i have a problem, i'm tryin to use Orion as Load Balancer
here is my load-balancer.xml file which is located in
$ORION_HOME/config/

?xml version="1.0"?
!DOCTYPE data-sources PUBLIC "Orion load-balancer"
"http://www.orionserver.com/dtds/load-balancer.dtd"

load-balancer host="[ALL]" port="80" secure="false" selection-type="random"
user-ip="true" use-session-id="true"
 island id="0"
  backend-server host="192.168.1.139" port="80"/
 /island
 island id="1"
  backend-server host="192.168.1.138" port="80"/
 /island
/load-balancer

So basicly what im trying to do is balance traffic between those 2 servers.
But for some reason when i request "localhost" it displays me a page that
is "website/index.html". I wonder why is that happenin.

Any help is deeply appreciated

Thank You

-Anton





RE: Load balancing with Orion

2000-12-11 Thread Kevin Duffey

The only thing I can think of...did you specify the WELCOM file of
index.jsp? Otherwise it defaults to index.html I think. That should be in
your web.xml file.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Monday, December 11, 2000 7:46 PM
 To: Orion-Interest
 Subject: Load balancing with Orion


 Guys,

 i have a problem, i'm tryin to use Orion as Load Balancer
 here is my load-balancer.xml file which is located in
 $ORION_HOME/config/

 ?xml version="1.0"?
 !DOCTYPE data-sources PUBLIC "Orion load-balancer"
 "http://www.orionserver.com/dtds/load-balancer.dtd"

 load-balancer host="[ALL]" port="80" secure="false"
 selection-type="random"
 user-ip="true" use-session-id="true"
  island id="0"
   backend-server host="192.168.1.139" port="80"/
  /island
  island id="1"
   backend-server host="192.168.1.138" port="80"/
  /island
 /load-balancer

 So basicly what im trying to do is balance traffic between those
 2 servers.
 But for some reason when i request "localhost" it displays me a page that
 is "website/index.html". I wonder why is that happenin.

 Any help is deeply appreciated

 Thank You

 -Anton






RE: Faster encryption

2000-12-11 Thread Kevin Duffey

How about hardware based? I know there are SSL to non-ssl hardware devices
that turn all incoming SSL into non-SSL so your web-app is completely
non-ssl based, but the web browser to the server (ssl device) is secure. I
know there are some that can handle 1000's of ssl transactions per second
(but you'll pay big money for those).


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of David Ekholm
 Sent: Monday, December 11, 2000 1:07 AM
 To: Orion-Interest
 Subject: Faster encryption


 I noticed a TPS drop (transactions per second) of factor four when I
 benchmarked my application using 128 bit SSL encryption (5 client threads)
 compared to non-encrypted benchmarking. I know that the SSL layer is
 pluggable in Orion, I use the standard one that comes with Orion 1.4.0.

 Is there a faster implementation of SSL for Java/Orion out there, maybe a
 native code solution? Or is the standard encryption package already using
 native code for the most critical sections? I guess not, as I
 have used C++
 packages for encryption previously and not noticed such CPU eating
 behaviour.

 /David


 "The Las Vegas of Online Gaming" David Ekholm
 System Architect
 Hammarby Kajväg 14, 120 30 Stockholm
 tel: +46 (0)8 55 69 67 11
 mob: +46 (0)70 486 77 38
 fax: +46 (0)8 55 69 67 07
 icq: 410993





SSL Singletons

2000-12-11 Thread Todd Renner

We recently implemented SSL using a Thawte cert.  We
have one ear file that is used by both the secure and non
secure web sites with the session shared between them.
We have several singleton classes used to hold *lots* of
data which gets used throughout the application.  We
also have our own connection pooling.  By implementing
SSL this way have we created two instances of all our
singletons and pooling classes?   If this is the case then
we are wasting resources and need to come up with a
better solution.   Any thoughts?Thanks much!

 Todd Renner
 Bell  Howell