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
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
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.
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":
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
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
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,
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
- 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
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.
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
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:
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
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
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:
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
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
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
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
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
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
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
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
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
How about having an initializer bind some property files into JNDI that can
then be accessed by the web ejb modules.
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
41 matches
Mail list logo