idea=$395.00USD was: RE: Java IDE?

2002-03-22 Thread gofreddo

hi, 

At about $800.00 AUD (roughly=$395.00 USD) 
I'd forget all about idea ... what about
some ide's with sensible prices? I realised
JBuilder was a waste of time after using it
for years, and waking up to the fact that
I only used it to package classes anyway. I
bet people who are recommending idea are using 
other people's money to buy idea licenses?

What about Simplicity? 

regards ...





> From: "Eric Hodges" <[EMAIL PROTECTED]>
> Subject: RE: Java IDE?
> Date: 22/03/2002 14:33:50
> To: Orion-Interest <[EMAIL PROTECTED]>
> 
> Idea for coding, Jbuilder for GUI layout.
> 
> 
> > -Original Message-
> > From: Clay Mitchell [mailto:[EMAIL PROTECTED]] 
> > Sent: Friday, March 22, 2002 12:55 PM
> > To: Orion-Interest
> > Subject: Java IDE?
> > 
> > 
> > Just a question, any suggestions as to what a good IDE is? 
> > I've tried JBuilder, IDEA (I like IDEA) and a few others... 
> > any recommendations?
> > 
> > Thanks
> > -Clay
> > 
> > 
> > 
> 
> 

This message was sent through MyMail http://www.mymail.com.au






Re: jsp:setProperty blanks and *

2002-03-22 Thread prasanth sb

Use ?x=''&y«c I think this works.


>From: "Dave Ford" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: jsp:setProperty blanks and *
>Date: Fri, 22 Mar 2002 10:22:24 -0800
>
>Take the following query string:
>
>x=&y«c //x is empty string
>
>And the following JSP tag:
>
>
>
>Problem:
>
>myFoo.setY is called but myFoo.setX is not called. Suppose I want to change
>the value of myFoo.x to an empty string. How would I achieve this? This
>seems to make the * feature almost useless. Or am I missing something?
>
>Dave Ford
>Smart Soft - The Developer Training Company
>http://www.smart-soft.com
>
>




_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com





RE: Java IDE?

2002-03-22 Thread Clay Mitchell

Hmm I'm loving idea, but it costs $ - I wonder what happens when the
trial expires... Nag or just doesn't work?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Gottfried
Szing
Sent: Friday, March 22, 2002 6:55 PM
To: Orion-Interest
Subject: Re: Java IDE?


On Fri, 22 Mar 2002, Clay Mitchell wrote:

> Just a question, any suggestions as to what a good IDE is? I've tried 
> JBuilder, IDEA (I like IDEA) and a few others... any recommendations?

i like idea. since i have seen idea i was a loyal user of vim and ant.
now i use idea in combination with ant, junits, and orion.









Re: Java IDE?

2002-03-22 Thread Dmitriy Serebryakov

Need to be metioned that Forte based on open source NetBeans.
Take a look to JDeveloper from ORACLE also. It looks like licenced JBuilder
and should perfectly suit for work with Orion.


- Original Message -
From: <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 4:29 PM
Subject: RE: Java IDE?


> I'm fond of Forte from Sun, but it needs plenty of memory and processor
> to run.  The two really nice things about it is that it is freely
> available (Community Edition, anyway) and that it is from Sun, the
> owners of Java.
>
> Don't take the system requirements lightly.  A 1GHz Athlon with 512Mb
> runs it really well.  A dual 180MHz with 128Mb runs it like a slug.
>
> Best,
> Steven
>
> -Original Message-
> From: clay [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 12:55 PM
> To: orion-interest
> Subject: Java IDE?
>
> Just a question, any suggestions as to what a good IDE is? I've tried
> JBuilder, IDEA (I like IDEA) and a few others... any recommendations?
>
> Thanks
> -Clay
>
>
>
>
>





RE: Concurrent calls to Session bean methods

2002-03-22 Thread Vani H.S.

Hello All,
  Thanks very much for all the help you have provided for this query.
I looked into the Java pet store class which you had referred me to.
And have also implemented a facade class.

Here is an example of what our application looks like.

There is an MDB called MyMDB, a stateful session bean called 
MyStatefulSessionBean and a facade class called MyFacade

MyMDB.java
---
public class MyMDB extends java.lang.Object implements 
javax.ejb.MessageDrivenBean, javax.jms.MessageListener {
static m_myFacade;

private _createFacade()
{
// Creates Facade class
// Initializes myStatefulSessionBean variable in the Facade class
}

public void onMessage(javax.jms.Message message)
{
if( message is init_message )
{
_createFacade();
}
m_myFacade.processMessage( message );
}
}

MyStatefulSessionBean.java
---
public class MyStatefulSessionBean extends java.lang.Object implements 
javax.ejb.SessionBean
{
public void processMessage( Message message );
}

MyFacade.java
-
public class MyFacade extends Object
{
MyStatefulSessionBean m_myStatefulSessionBean;

public synchronized void processMessage( Message message )
{
myStatefulSessionBean.processMessage();
}
}

But when the application runs, and sends an init message to MyQueue ( with 
which the MDB is accociated ), the onMessage() of MDB gets called. And the 
processMessage() gets called and facade class is initialized. The system 
behaves in the way it is expected to.

Then, if MyQueue recieves another message, the system still beahves fine by 
calling processMessage().

The problem occurs if MyQueue gets more than one messages ( from more than 
one threads ). The control comes into onMessage() everytime. Unfortunately, 
m_myFacade.processMessage( message ) doesn't get in all the cases. I don't 
know if this is a problem with synchronization or may be I am doing 
something wrong here. Please somebody help.

Thanks,
Vani






>From: "The elephantwalker" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: Concurrent calls to Session bean methods
>Date: Thu, 21 Mar 2002 21:37:55 -0800
>
>The sfsb has a _session_ which is bound to the client. So the client could
>be anywhere, irregardless of a cluster.
>
>oc4j has a last method state replication which makes sure that all sfsb's
>have the same _session_.
>
>A slsb wouldn't care, and doesn't have the same problem with concurrency,
>since they are not reentrant.
>
>regards,
>
>the elephantwalker
>
>
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Romen Law
>Sent: Thursday, March 21, 2002 2:33 PM
>To: Orion-Interest
>Subject: Re: Concurrent calls to Session bean methods
>
>
>ello,
>
>What if the application is deployed in a cluster (even the web tier)? Would
>that nullify the synchronised effect?
>
>cheers
>romen
>
>- Original Message -
>From: "The elephantwalker" <[EMAIL PROTECTED]>
>To: "Orion-Interest" <[EMAIL PROTECTED]>
>Sent: Thursday, March 21, 2002 3:47 PM
>Subject: RE: Concurrent calls to Session bean methods
>
>
> > John,
> >
> > Here is the offending class, compliments of the Sun Blueprint team:
> >
> > public class ShoppingClientControllerWebImpl implements
>WebClientController
> > {
> >
> > private ShoppingClientControllerLocal sccEjb;
> > private HttpSession session;
> >
> > public ShoppingClientControllerWebImpl() {
> > }
> >
> > //   ... stuff...
> > //
> >
> > // the important bit ...
> >
> > public synchronized EventResponse handleEvent(Event ev)
> > throws EventException {
> > return sccEjb.processEvent(ev);
> > }
> >
> > }
> >
> > So you see that the webcontroller is the _only_ access to the sfsb. And
>the
> > only call is synchronized, thus preventing cocurrent calls to the 
>stateful
> > session bean.
> >
> > regards,
> >
> > the elephantwalker
> > www.elephantwalker.com
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Wednesday, March 20, 2002 12:05 PM
> > To: Orion-Interest
> > Subject: RE: Concurrent calls to Session bean methods
> >
> >
> >
> > I haven't seen the history on this issue, but it interests me.  I had a
> > quick look at the ShoppingClientControllerEJB class that is given as an
> > example by Sun in the Session Facade design pattern, but couldn't see
>where
> > they are synchronizing calls.  Can you provide some more clues?
> >
> > Thanks,
> >
> > John H.
> >
> >
> >
> > "The elephantwalker"
> > <[EMAIL PROTECTED]>   To:
> > [EMAIL PROTECTED]
> > Sent by: cc:
> > 

Re: Java IDE?

2002-03-22 Thread Gottfried Szing

On Fri, 22 Mar 2002, Clay Mitchell wrote:

> Just a question, any suggestions as to what a good IDE is?
> I've tried JBuilder, IDEA (I like IDEA) and a few others...
> any recommendations?

i like idea. since i have seen idea i was a loyal user of vim and
ant. now i use idea in combination with ant, junits, and orion.





Remove-me

2002-03-22 Thread Tatiana Gonzalez Cruz

Please!!!

remove-me




>From: Clay Mitchell <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: Java IDE?
>Date: Fri, 22 Mar 2002 13:54:35 -0500 (EST)
>
>Just a question, any suggestions as to what a good IDE is? I've tried
>JBuilder, IDEA (I like IDEA) and a few others... any recommendations?
>
>Thanks
>-Clay
>
>


_
Con MSN Hotmail súmese al servicio de correo electrónico más grande del
mundo. http://www.hotmail.com/ES





Petstore Problems

2002-03-22 Thread Gerald E. Bennett

Hi I am new to orion I just installed version
orion1.5.4 and I am in the process of trying out the
examples.

I was able to follow the taglib-tutorial, and the atm
example.

I am having problems setting up the petstore example.

I followed the instructions according to the
estore-install.txt file. After installation and going
to the web address : http://localhost/petstore/
I am able to get the main page to display fine.

Once I enter the store to the address
http://localhost/petstore/control/main

I get the following error and message:

Error:

The User ID you selected is already in use. Please go
back to the previous screen using the 'Back' button on
your browser and select a different User ID.

Any idea what I am doing wrong?

Thanks

__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/




RE: Java IDE?

2002-03-22 Thread steve . d . meacham

I'm fond of Forte from Sun, but it needs plenty of memory and processor 
to run.  The two really nice things about it is that it is freely 
available (Community Edition, anyway) and that it is from Sun, the 
owners of Java.

Don't take the system requirements lightly.  A 1GHz Athlon with 512Mb 
runs it really well.  A dual 180MHz with 128Mb runs it like a slug.

Best,
Steven

-Original Message-
From: clay [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 22, 2002 12:55 PM
To: orion-interest
Subject: Java IDE?

Just a question, any suggestions as to what a good IDE is? I've tried
JBuilder, IDEA (I like IDEA) and a few others... any recommendations?

Thanks
-Clay







Re: CMP Entity Bean (addressbook) not deploying

2002-03-22 Thread Manish Jethani

Ray Harrison wrote:

> Did the information in the database get entered outside of the
> application? If so, cycle the app server to see if that fixes

What do you mean outside of the application?  The database is
populated with some base data before the application can start
doing anything.

> the problem (there's a flag you can set to eliminate that
> particular problem). If not, would you mind firing over the
> appropriate code snippets? (The place in your code that you
> are calling the findBy.. in, and the orion-ejb-jar.xml file
> that is generated).

Here's my new data-sources.xml (snip):



My orion-ejb-jar.xml has this entity-deployment node:









That's for an entity bean for the database table
"PrimaryKeyGenerationTbl", where a mapping of table name to
max(prikey) is stored for every other table in the database.

Here's the piece of code that throws the
ObjectNotFoundException:

  public Long getNextNumberInSequence(String tableName) throws
  PrimaryKeyGenerationException, RemoteException {

Long key = null;
Primarykeygeneration pkgRemote =
(Primarykeygeneration) hmpEntries.get(tableName);
if (pkgRemote == null) {
  // add an entry to the PrimaryKeyGenerationTbl table
  try{
  pkgRemote = pkgHome.findByPrimaryKey(tableName);
  } catch(javax.ejb.FinderException e) { // this exception
   throw new PrimaryKeyGenerationException(msgId1, e);
  }
  hmpEntries.put(tableName, pkgRemote);
}
// ... and so on and so forth
  }

> What version of Orion are you using? (Curious also as to your
> weblogic version).

I'm using OC4J (Oracle9iAS) 1.0.2.2.1 and WebLogic 6.1.

Manish




RE: Java IDE?

2002-03-22 Thread Eric Hodges

Idea for coding, Jbuilder for GUI layout.


> -Original Message-
> From: Clay Mitchell [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, March 22, 2002 12:55 PM
> To: Orion-Interest
> Subject: Java IDE?
> 
> 
> Just a question, any suggestions as to what a good IDE is? 
> I've tried JBuilder, IDEA (I like IDEA) and a few others... 
> any recommendations?
> 
> Thanks
> -Clay
> 
> 
> 




Java IDE?

2002-03-22 Thread Clay Mitchell

Just a question, any suggestions as to what a good IDE is? I've tried
JBuilder, IDEA (I like IDEA) and a few others... any recommendations?

Thanks
-Clay





jsp:setProperty blanks and *

2002-03-22 Thread Dave Ford

Take the following query string:

x=&y=abc //x is empty string

And the following JSP tag:



Problem:

myFoo.setY is called but myFoo.setX is not called. Suppose I want to change
the value of myFoo.x to an empty string. How would I achieve this? This
seems to make the * feature almost useless. Or am I missing something?

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com





Re: CMP Entity Bean (addressbook) not deploying

2002-03-22 Thread Ray Harrison

Did the information in the database get entered outside of the application? If so, 
cycle the app
server to see if that fixes the problem (there's a flag you can set to eliminate that 
particular
problem). If not, would you mind firing over the appropriate code snippets? (The place 
in your
code that you are calling the findBy.. in, and the orion-ejb-jar.xml file that is 
generated).

What version of Orion are you using? (Curious also as to your weblogic version).

Cheers
Ray

--- Manish Jethani <[EMAIL PROTECTED]> wrote:
> Ray Harrison wrote:
>
> > Are you by chance using the location attribute in the code
> > somewhere - i.e. refering to
> > jdbc/OracleDS? If so, use the ejb-location instead
> > (jdbc/ejb/OracleDS).
>
> Thanks a lot.  That solved my problem.
>
> I have another problem though.  When I deploy my own app into
> orion, the cmp beans get deployed properly (w/o any error
> messages).  But when the client tries to access the bean through
> the findByPrimaryKey method I get the following exception:
>
>   javax.ejb.ObjectNotFoundException: no such entity: 
>
> where  is the primary key.  The row does exist in the
> database but I don't see why it's not accessible.  The same app
> is working well in weblogic.
>
> Manish
>


__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/




Re: CMP Entity Bean (addressbook) not deploying

2002-03-22 Thread Manish Jethani

Ray Harrison wrote:

> Are you by chance using the location attribute in the code
> somewhere - i.e. refering to
> jdbc/OracleDS? If so, use the ejb-location instead
> (jdbc/ejb/OracleDS).

Thanks a lot.  That solved my problem.

I have another problem though.  When I deploy my own app into
orion, the cmp beans get deployed properly (w/o any error
messages).  But when the client tries to access the bean through
the findByPrimaryKey method I get the following exception:

  javax.ejb.ObjectNotFoundException: no such entity: 

where  is the primary key.  The row does exist in the
database but I don't see why it's not accessible.  The same app
is working well in weblogic.

Manish




Re: Is Orion JDK 1.4 compatible?

2002-03-22 Thread Maarten van der Hoeven

Hi,

I run Orion 1.5.4 with JDK1.4 now for several months. Nothing strange noticed. 

Maarten
> 
> Van: "Randahl Fink Isaksen" <[EMAIL PROTECTED]>
> Datum: 2002/03/22 vr AM 11:40:19 GMT+01:00
> Aan: Orion-Interest <[EMAIL PROTECTED]>
> Onderwerp: Is Orion JDK 1.4 compatible?
> 
> Hi
>  
>  
> I am wondering if anyone has any experience with using JDK 1.4 to run
> Orion - I noticed that, the Orion installation docs mention using JDK
> 1.2.2, but is does not say that this is a requirement. I would like to
> run Orion with JDK 1.4 because then the new Java features like logging
> will be available to my beans, but I am worried that Orion has not been
> tested properly with this JDK.
>  
>  
> Yours
>  
> Randahl
>  
> 
> 










Hi

 

 

I am wondering if anyone has any
experience with using JDK 1.4 to run Orion – I noticed that, the Orion
installation docs mention using JDK 1.2.2, but is does not say that this is a requirement.
I would like to run Orion with JDK 1.4 because then the new Java features like logging
will be available to my beans, but I am worried that Orion has not been tested
properly with this JDK.

 

 

Yours

 

Randahl

 









R: Is Orion JDK 1.4 compatible?

2002-03-22 Thread daniele rizzi



 
Hi,
if can 
help, I might tell you that oracle oc4j works well with jdk1.4, both in client 
& server mode.
For 
logging I'd suggest jakarta log4j though.
bye,
d.
 
(caveat empor: my own experience is quite limited to web apps, with no 
ejb / jms etc. )
 

  -Messaggio originale-Da: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Per conto di Randahl Fink 
  IsaksenInviato: venerdì 22 marzo 2002 11.40A: 
  Orion-InterestOggetto: Is Orion JDK 1.4 
  compatible?
  
  Hi
   
   
  I am 
  wondering if anyone has any experience with using JDK 1.4 to run Orion – I 
  noticed that, the Orion installation docs mention using JDK 1.2.2, but is does 
  not say that this is a requirement. I would like to run Orion with JDK 1.4 
  because then the new Java features like logging will be available to my beans, 
  but I am worried that Orion has not been tested properly with this 
  JDK.
   
   
  Yours
   
  Randahl
   


CMP Entity Bean (addressbook) not deploying

2002-03-22 Thread Manish Jethani

I'm trying to deploy the addressbook example
[http://www.orionserver.com/tutorials/orion-cmp-primer/] on my
server.  My data-sources.xml contains this entry:



Everything else is fine (I've followed all the steps mentioned
in that cmp-primer) but at the time of deployment the server
gives me the following error message:

Auto-deploying addressbook-ejb.jar (No previous deployment
found)...   Error compiling  
   
/home/oc4j/tutorial/addressbook/build/addressbook/addressbook-ejb.jar:  
jdbc/OracleDS did not contain a
cmt-dataSource/ejb-datasource

... and I have no clue what that means!  I need to get my app
running on orion ASAP.  Any help towards this would be highly
appreciated.

Thanks a lot.

Manish




Re: Is Orion JDK 1.4 compatible?

2002-03-22 Thread Ray Harrison

I use it in 1.5.4 wihout any problems (except for the deprecation message on 
sun.tools.javac.Main)
*however* I haven't used any of the new features as yet.

Cheers
Ray
--- Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:
> Hi
>
>
> I am wondering if anyone has any experience with using JDK 1.4 to run
> Orion - I noticed that, the Orion installation docs mention using JDK
> 1.2.2, but is does not say that this is a requirement. I would like to
> run Orion with JDK 1.4 because then the new Java features like logging
> will be available to my beans, but I am worried that Orion has not been
> tested properly with this JDK.
>
>
> Yours
>
> Randahl
>
>


__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/




[ann] WebWork 1.0 released!

2002-03-22 Thread Rickard

I'm proud to announce the release of WebWork 1.0! WebWork is a HMVC web 
application framework in Java, developed as Open Source (BSD license) 
and designed to help create dynamic websites using minimal effort and 
maximum flexibility. It's architecture is easy to learn and understand, 
yet has features that allow for complex applications to be built.

One of the main features is it's total separation between the controller 
and view aspects of an application, thus allowing for a multitude of 
view technologies to be utilized. Out of the box WebWork has support for 
JSP (and comes with an extensive tag library that covers most needs), 
XSLT, and the template engine Velocity. Adding support for more such 
tools is very easy (the Velocity "integration" was done in hours), 
allowing you to have maximum flexibility with regard to how you 
structure your application.

You also get to choose whether you want to use a Model-1 or Model-2 
approach to building applications, although we'd recommend using both as 
is described in our comprehensive documentation that includes reference 
sheets (for the tag library and expression language) and many useful 
tips&tricks sections.

WebWork comes with a comprehensive set of examples that are both used to 
test the functionality of the framework, as well as showcase how it can 
be used. Many examples are conversions from other frameworks (such as 
Struts) so that you can see firsthand how WebWork differs from the rest 
of the crowd.

One of the most important tasks when working with frameworks like this 
is the configuration step, which is where Java classes are mapped to 
logical names (used for invocation) and where the connection between 
controller and view (such as a JSP or Velocity template) is made. This 
configuration can be done manually, but to ease this process there is an 
XDoclet extension available (through the XDoclet project, see 
http://xdoclet.sourceforge.net) that will allow you to specify all such 
configuration directly in your Java code using custom WebWork-specific 
JavaDoc tags.
XDoclet is also used to generate HTML documentation of your application, 
which helps to serve as a
communication channel between the Java developer and web designer (if 
those roles are separated into
several team members).

There are a multitude of other unique and interesting features that we 
are very excited about, but we'd encourage you to download and find out 
about those yourself. So get it now from:
http://sourceforge.net/project/showfiles.php?group_id=14797

Documentation can be found in the download, or online at:
http://213.203.18.31/

We encourage you to try WebWork together with the wonderful SiteMesh 
(http://www.opensymphony.com) and XDoclet tools, a combination which can 
give you an amazing productivity and clean application architeture.

This is an OpenSource project, developed using an open development 
process, and is hosted by SourceForge. If you have any questions we 
recommend the user mailing list, and if you have suggestions for 
improvements we're all ears on the development mailing list, both of 
which can be found on the project homepage at:
http://sourceforge.net/projects/webwork

If you are attending JavaOne this year, then you might want to stop by 
our WebWork developer meeting on Wednesday March 27, 6.30pm at Fourth 
street Bar & Deli (across from the Metreon). See ya there :-)

/Rickard Öberg, WebWork project manager

-- 
Rickard Öberg
Author of "Mastering RMI"
Chief Architect, TheServerSide.com
   The Middleware Company - We Build Experts!





Is Orion JDK 1.4 compatible?

2002-03-22 Thread Randahl Fink Isaksen








Hi

 

 

I am wondering if anyone has any
experience with using JDK 1.4 to run Orion – I noticed that, the Orion
installation docs mention using JDK 1.2.2, but is does not say that this is a requirement.
I would like to run Orion with JDK 1.4 because then the new Java features like logging
will be available to my beans, but I am worried that Orion has not been tested
properly with this JDK.

 

 

Yours

 

Randahl