RE: Redirection

2001-01-05 Thread Kevin Duffey
Sure it is. I am not sure if its possible in Servlet 2.1/2.2 to "path map" to a specific controller servlet, but I think it is. I use extension mapping myself. But basically you would do something in your web.xml file like: servlet servlet-namecontroller/servlet-name

Re: JSP vs Servlet

2001-01-05 Thread Joseph B. Ottinger
Well, Ernst did a fine job, but it'd be better if he'd done those things in XML... *runs* Anyway, IMHO adding a methodology on top of the purpose of the article - showing the CMP stuff - would have been yet more to learn. I'm of the opinion that something like that needs to show off one aspect

URGENT: Problems with Orion load balancer.

2001-01-05 Thread Tony J Brooks
Happy New Year everyone, Apologies for re-posting this so soon, but given that a lot of people will have been away during the festive period and the necessity for a solution to my problem intensifies, I want to pass this in front of you all again. I'm very grateful for your interest. Tony.

Re: Help with Java obfuscators

2001-01-05 Thread Christian Sell
I dont think freeware is the right term, if I read the website correctly. What you get there is a 90 day evaluation for non-commercial purposes. After that you may request a commercial license, but it does not say for how much. I'm real happy with IBM's freeware product "JAX":

Re: load-on-startup

2001-01-05 Thread Johan Fredriksson
If I'm not completely mistaken is the load order for servlets. Meaning if load-on-startup is 1, that is the first servlet to load, 2 second to load. to load - being loaded by Orion. //Johan - Original Message - From: "Neal Kaiser" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL

Re: JSP vs Servlet MVC - CMV

2001-01-05 Thread Johan Fredriksson
I've seen the abbreviation MVC on a lot of places, but shouldn't it be CMV for Controller / Model / View where Controller receives a request, handles it using model and displays it using view? Not important to me, just wondered... =) //Johan - Original Message - From: "Fyffe

Re: Accessing multiple databases in the same application

2001-01-05 Thread Rafael Alvarez
Hello Michael, Check the docs for the orion-ejb-jar.xml. In the entry for entity beans (entity-deployment ...) you can specify the datasource and table to be used using the parameters data-source and table. You can find the file in $(APP-DEPLOYMENT-DIR)/$(APP-NAME)/ejb -- Best regards,

User guide

2001-01-05 Thread Laurent Vansuypeene
hi everybody, I need to evaluate orionserver but i don't find any user guide on the site and the documentation is quiet not enough. For example, i want to know how to define servlet context, EJB2.0 (how to define EQL, where are the generated stub...) Has someone a user guide ? Thanks in advance

Re: Help with Java obfuscators

2001-01-05 Thread Serge Knystautas
- Original Message - From: "Christian Sell" [EMAIL PROTECTED] I dont think freeware is the right term, if I read the website correctly. What you get there is a 90 day evaluation for non-commercial purposes. After that you may request a commercial license, but it does not say for how

RE: What's going on with Orion? - an answer

2001-01-05 Thread Kemp Randy-W18971
Again, my reply to Orion is that they need to get up to speed quickly. They have a first class product, but because of their pricing structure, their completion is present on two fronts. 1. Create a notch in markets where much higher priced products like WebSphere and WebLogic are king. 2.

RE: JSP vs Servlet

2001-01-05 Thread Kemp Randy-W18971
I did address this same question to the folks at www.jollem.com and their suggestion, which was a fine one, was to create a tutorial. Jollem has a mechanism in place to create tutorials (see website). Since I am not an expert, I would ask if some expert (with some spare time) could show us

RE: JSP vs Servlet

2001-01-05 Thread Kemp Randy-W18971
Would you be interested in writing a Model three CMP primer (given the time)? It would be helpful to use newcomers to see the CMP primer in three flavors: models 1, 2, and 3. -Original Message- From: Kevin Duffey [mailto:[EMAIL PROTECTED]] Sent: Friday, January 05, 2001 1:59 AM To:

RE: Tomcat 3.2 and Orion

2001-01-05 Thread Kemp Randy-W18971
This may not answer Tomcat specifically, but if you go to www.caucho.com, and search for the EJB section, there is a solution to set up Resin with Orion (you may need to download Resin and look at the Doc). It would seem to me, since Resin is a JSP engine, you could adapt a similar solution

RE: Accessing multiple databases in the same application

2001-01-05 Thread Juan Lorandi (Chile)
yap, check out orion-ejb-jar.xml In either CMP or BMP entitys you can modify deployment settings at any time with CMP you can even modify the field mapping scheme BUT, i think in another of the orion*.xml (i think orion-application.xml) you may specify the datasources PRIOR to deployment (thus

RE: JSP vs Servlet MVC - CMV

2001-01-05 Thread Juan Lorandi (Chile)
it's a circular pattern... you access the controller from a view, which is generated by the model... all of this brings us back to the important question: what was first--- the egg or the chicken? My 2c, JP -Original Message- From: Johan Fredriksson [mailto:[EMAIL PROTECTED]] Sent:

RE: User guide

2001-01-05 Thread Kemp Randy-W18971
There are three sources for documentation: Download the doc at www.orionserver.com Look at the questions and answers at www.orionsupport.com Look at the examples at www.jollem.com Unfortunately, the documentation for Orion and the open source initiatives (jboss, jonas, openejb) are not up to the

Globally available environment vars

2001-01-05 Thread John D'Ausilio
We're getting to the point where we're integrating a bunch of stuff into a web app .. two different ejb modules plus a web module. I'd like to have a single central place where user-customizable configuration can be stored. Experimenting with env-entry in the web.xml file seems to indicate that

Message-driven beans get attached to queues HOW?

2001-01-05 Thread Joseph B. Ottinger
I've been playing around with developing my own queue consumer, and I'm stuck trying to figure out how to tell the EJB that it's listening to controllerQueue. In BEA it's in the server-specific deployment file; I've looked at the ATM example for a corresponding entry in orion-ejb-jar.xml with no

RE: Redirection

2001-01-05 Thread Tony Wilson
it seems that this doesn't actually send the redirect right away. It only Marks the redirect to happen after the JSP is finished. This means any logic AFTER the redirect will still happen. Not only that, but if you do a second sendRedirect, it replaces the first. We have found that putting

Re: User guide

2001-01-05 Thread Drew Kidder
There's always the Servlet 2.2 spec, from Sun..that should answer a bunch of questions about defining servlet contexts. Orion conforms to the Servlet spec. Other than that, I think you're left with the stuff from the website, and the downloadable documentation. Personally, I have found

RE: JSP vs Servlet MVC - CMV

2001-01-05 Thread Kevin Duffey
Actually..you are correct for the most part, but think of it this way. Most sites you just type in the www.company.com and hit enter. You don't type a specific path (that would be mapped to a controller servlet)..for the most part. There are a lot of sites you do such things..but for the most

RE: JSP vs Servlet

2001-01-05 Thread Kevin Duffey
I will try my hand at this as soon as my framework is done. I plan to use the Model 3 approach..which is using Model 2 but instead of forwarding to JSP, it passes the JSP output (which would be XML tags with dynamic data) and an XSL to XALAN and transforms it to HTML, then sends that back. In

RE: JSP vs Servlet

2001-01-05 Thread Fyffe Carl
This was not neccessarily a request for the explaination of MVC or CVM or VCM or whatever :) Many people learn by example, and this example will cause newbies to put their code in the JSP if they don't already know MVC. I think it is up to the more knowledgable folks to lead us less knowledgable

Re: User guide

2001-01-05 Thread APapada
Orion, with it's many configuration files, appears very complex to configure to someone who is working with it for the first time. It would be alot more 'developer' friendly if there was some sort of technical guide, other than the simple examples presented in the jsp pages that are found in

RE: Globally available environment vars

2001-01-05 Thread Jason Smith
How about having an initializer bind some property files into JNDI that can then be accessed by the web ejb modules.

There seems to be no datetime mapping in the SQL Server database schema.

2001-01-05 Thread Michael S. Kelly
The ms-sql.xml file contains the following: database-schema name="Microsoft SQL Server" not-null="not null" null="" primary-key="primary key" type-mapping type="java.lang.String" name="nvarchar(50)" / type-mapping type="float" name="float" / type-mapping type="double"

Open source and license

2001-01-05 Thread Kemp Randy-W18971
If Orion is a full J2EE implementation, they are probably right in not legally releasing the source code as open source. I found this in the openEJB letter archive at http://openejb.exolab.org/list-archive/msg00103.html, under www.openejb.org Unfortunately, we still do not have a complete

Question about automated testing with Orion

2001-01-05 Thread Eric Hodges
I'm trying to set up some automated unit tests for our servlets. I'm using HttpUnit and JUnit, but the authentication in HttpUnit doesn't work with Orion. Does anyone out there have experience at this? Is there a better tool? Some sort of trick? I've been talking to the HttpUnit folks, and

Re: User guide

2001-01-05 Thread Ray Harrison
There's more info and examples,etc on www.orionsupport.com. Check it out. --- Laurent Vansuypeene [EMAIL PROTECTED] wrote: hi everybody, I need to evaluate orionserver but i don't find any user guide on the site and the documentation is quiet not enough. For example, i want to know how to

RE: Accessing multiple databases in the same application

2001-01-05 Thread Michael S. Kelly
There is a default-data-source parameter in orion-application.xml, as in: orion-application deployment-version="1.4.0" default-data-source="jdbc/MSSQLDS" It looks like this data-source gets propagated to the EJB deployment description in orion-ejb-jar.xml, but I don't see a way to specify the

RE: There seems to be no datetime mapping in the SQL Server database schema.

2001-01-05 Thread Michael S. Kelly
Never mind. I found my answer in the archive. Sorry for the trouble. -=michael=- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael S. Kelly Sent: Friday, January 05, 2001 10:43 AM To: Orion-Interest Subject: There seems to be no datetime mapping

Null pointer exception in Wrapper class

2001-01-05 Thread revivalatgt revivalatgt
Anyone get anything like this? This is in a CMP bean, being called from a servlet, and I'm just calling a method generated by Orion. Could this be an error in my ejb-jar.xml file? My find methods are just generic find all methods, so I'm not touching the generated xml files in any way. Is

RE: Question about automated testing with Orion

2001-01-05 Thread Tony Wilson
On top of that, I am looking for a way to automate the compilation of JSP files offline (i.e. not through a web browser, or even hitting the web page). JRun and TomCat each exposed their JSP compiler interfaces so that you can run them offline and capture the errors/warnings. I cannot seem to

Troubles with DataSourceUserManager and RoleManager

2001-01-05 Thread Lawrence8080
Hi all, I've been struggling with DataSourceUserManager for the past week or so, and could really use some help. I'm running out of ideas, if anyone can help me get this last piece figured out, I will create a complete document for OrionSupport detailing how DataSourceUserManager works, and

RE: ResultSet Caching

2001-01-05 Thread Conrad Chan
I don't think entity bean can effectively solve your problem since calling entity bean can potentially be remote calls. Why not use session variables? Session variable is intended for temporary storage, like cache data. Conrad -Original Message- From: Neal Kaiser [mailto:[EMAIL

RE: Accessing multiple databases in the same application

2001-01-05 Thread Tim Endres
If I understand correctly, while it appears that this file is generated, which it is, if you place your own version in your deployment, the version you provide will be used as a base, and Orion will just fill in any missing elements that it requires. tim. There is a default-data-source

RE: Globally available environment vars

2001-01-05 Thread Tim Endres
Are you sure? Seems to me that all you have to do is use the constructor InitialContext( Properties props ) to specify the environment that you wish via the java.naming.provider.url property. In other words, can't a web module just use "ormi://host:port/appname" to get a Context that can access

Re: Open source and license

2001-01-05 Thread Gerald Gutierrez
At 12:40 PM 1/5/2001 -0600, you wrote: If Orion is a full J2EE implementation, they are probably right in not legally releasing the source code as open source. I found this in the openEJB letter archive at http://openejb.exolab.org/list-archive/msg00103.html, under www.openejb.org So what

RE: ResultSet Caching

2001-01-05 Thread Neal Kaiser
Right, I definitely wouldn't use an entity bean for list/search functionality. Way too much overhead. Stateless session beans is the way to go, but I don't think throwing in large variable sets into a session is a good solution either. Bloated sessions don't perform well either. Some app servers

RE: Question about automated testing with Orion

2001-01-05 Thread Jeff Schnitzer
Out of curiosity, why do you have so much logic in servlets that you need to test them? Is your page transition logic that complicated? I have found that by keeping all my business logic in session beans (which are tested with JUnitEE, http://www.infohazard.org/junitee), my servlets/JSPs stay

File Upload Servlet

2001-01-05 Thread Seung Bang
Hello, folks! Happy new year! I wrote a servlet that uploads files to the server. The problem with the servlet is that it works but it takes too much time. I put a couple of print statements at the beginning of the servlet and at the end of the servlet for a debuging purpose. Both the