Hello all,
I have a JSP, that processes a form and is
attempting to create a record in my database viaCMP EJB (Person). After my
form has been processed and the PersonHome.create() methods has succeeded
(record has been created), the page tries to redirect to another JSP. But this
doesn't
1. The
web interface and EJBs security works but when I try to use a restricted a
EJB method I only get a remoteException (I know... its normal). Is there some
way to control if this exception is caused by a Security Constraint ? (To show
for example... "Youre not allowed to do that").
Does ORION support JNDI naming federation?
For example, I have several ORIONs in my distrubuted environment. Each has
its own unique services. I would like them to share the same JNDI naming
space so that I had uniform access to services in my distrubuted
environment.
Does anyone have any
this is because PHP is pretty much pure web, where JSP is intended to be
portable into other formats that may think whitespace is
important.
-Original Message-From: Sergei Batiuk
[mailto:[EMAIL PROTECTED]]Sent: Friday, July 20, 2001 3:25
AMTo: Orion-InterestSubject: Orion's JSP
Hi forum,
I have noticed that when I use scriplets or
tags in my JSPs, orion puts "\r\n" into the outputstream code for
each tag. This results in many blank lines in the generated HTML code. In
comparison,PHPscripletsdo not produce these blank lines. Does
anyone know how to "beautify" the
You must use admin.jar for this
purpose.
You can make the following .bat file:
java -jar admin.jar ormi://host:port
username password -shutdown.
HTH,
Sergei.
- Original Message -
From:
Rajiv R
To: Orion-Interest
Sent: Friday, July 20, 2001 4:19 PM
Subject:
Hi forum,
I would like to know what strategies people
use in real life to design their entity beans, when use CMPs and when BMPs. Each
approarch has its own benefits and drawbacks.
This is what I found out during my experience with
EJB:
1.CMPs
Benefits:
-easy to
develop;
-better
Hi Ivan,
I connect to cloudscape using rmi-jdbc bridge. To get started you need to do
the following:
1. Setup datasources.xml
2. Put RmiJdbc.jar to the %ORION-DIR%/lib folder
3. Use cloudscape connection by obtaining the javax.sql.DataSource from
JNDI.
1. Put into the datasources.xml the
Hey people,
I am having trouble connecting to MS SQL 2000 from my entity bean. I have an
ODBC data source set up for the database, and connect to it using
sun.jdbc.odbc.JdbcOdbc driver. I get the following:
java.rmi.RemoteException: java.sql.SQLException: [Microsoft][ODBC SQL Server
Hi people,
Does anyone use Orion's BMPs? I have just
created a BMP and tried findAll() - incredibly slow! Any thoughts very much
appreciated.
Sergei.
Iuse Rmi-Jdbc framework to connect to
cloudscape. I have RmiJdbc.jar, cloudscape.jar and client.jar in orion/lib
directory. my datasource.xml looks like:
Dear elephatwalker,
It looks like a big perfomance hit for both
database and container to count entities in such a way. Another decision is to
talk directly to db, which is also notgood.
Browsing EJB 2.0 documentation, I found out
that there is an ejbSelect() method that allows to perform
Title: SV: Dynamic finders
Dear Magnus,
The question is: does ORION provide some kind of
mechanism (like a callback function), that could be implemented by a programmer
and return a query string upon request, instead of making them 'final'? One way
to do that is to make a BMP, but i want
Is it possible to count the number of records
in a table with a CMP?
WBR,
Sergei
Hi mailing list,
I have the following problem: the primary key for
my EJB is generated at the database level ( a trigger ), so I don't want
togenerate it in the ejbCreate() method. However, EJB specification says,
that the use of the primary key isa MUST. Does anyone have the solution
for
One of the goals of EJBs, according to Sun's EJB specification, is to be
compatible with CORBA protocols. How is this compatibility implemented with
ORION? Can ORION act as a CORBA server, so that I could connect to it from
my CORBA client, or I have to implement my own middleware JAVA
Hello all,
What does the following error mean? It looks more like a warning, since I
did not encounter any abnormal behavior with orion. Is it serious? What
might have caused it?
Error deserializing session: java.io.WriteAbortedException: Writing aborted
by e
xception;
Hi,
I have developed my own implementation of the
UserManager, which is actually a wrapper around an appserver-independent user
manager. I believe, it's written correctly (i.e it implements
com.evermind.security.UserManager). But when I try to deploy it, the constructor
and the init()
ot; [EMAIL PROTECTED]
Sent: Sunday, March 25, 2001 8:40 PM
Subject: RE: Using EJBs with Delphi
Your going to have to use CORBA from what I understand.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sergei Batiuk
Sent: Saturday, March 24, 200
Hi EJB gurus,
Does anynone know how to connect to an EJB from a dephi client app?
Thanks in advance,
Sergei Batiuk.
administrator.
regards,
/netch/
The original message follows:
...
Am I missing anything?
WBR,
Sergei Batiuk.
Is there any way to customize deployment of CMP bean - to indicate the table
name in the database to which the entity bean should map its persistence (in
case the name of the table is different from the bean name) or the data
source to connect to. As far as I know orion-ejb-jar.xml is responsible
Could anyone please explain how to create a custom user manager for Orion?
What is the way to associate the users and groups in the database with the
roles and principal of the orion?
23 matches
Mail list logo