Thank a lot! I`ll look into it.
NT | From: costin [mailto:[EMAIL PROTECTED]
NT | Subject: [JBoss-user] somewhat off topic - compressing database fields
NT | into classes
NT |
NT | For ease, I was wondering if it wouldn`t be easier to make a class
NT | (a.k.a JavaBean) to easily transport the
Hi,
Is it possible to automatically narrow the results of a finder ?
i.e : finder findByName(String name) on PersonBean is likely to return a single result each time so the signature can be com.test.interface.PersonneLocal findByName(java.lang.String name)
But in the case it returns more than
I think what Tomcat does after a post to j_security_check is look inside the
user session (private to the container - org.apache.catalina.Session) for an
attribute containing the original page that the user was trying to access.
If it cannot find it throws an error 400. What you can do is have a
hi Craig
just search for messagearchive for
ConnectionManager on 3.2.0RC2
MySQL connector on 3.2.0RC2
that should explain some things.
I had to change the folloing in my db-service.xml
**
!-- attribute
name=TransactionManagerjava:/TransactionManager/attribute --
depends
Thursday, March 06, 2003, 12:20:54 PM, Ionel Gardais wrote:
IG Hi,
IG Is it possible to automatically narrow the results of a finder ?
IG i.e : finder findByName(String name) on PersonBean is likely to return a single
result each time so the signature can be com.test.interface.PersonneLocal
Pardon my ignorance, but what is a HiLo key generator? Many years ago, we
used an incrementing number, but reversed the bits, so that the keys were
well distributed. Is this the same thing? Should I have patented the idea
:-) ? Too late I suppose!
Ciao,
Jonathan O'Connor
Development Manager
This paper should give you the answer
http://www.ambysoft.com/persistenceLayer.pdf
Simone
- Original Message -
From: Jonathan.O'[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 12:45 PM
Subject: Re: [JBoss-user] HiLo key generator
Pardon my ignorance, but what is
Hi Jonathan,
I am sure that Bill Gates already tried to get the patent for this.
Off topic: What about using the java.rmi.server.UID? It generates a
unique-ID as string.
We have used this in several projects and it worked well for us.
But I know that developers loves their PKs as long or
Neal Sanche [EMAIL PROTECTED] writes:
Well, I've not actually tried using a servlet to do a POST to the
login page. In my old company, an applet was doing the POST, and the
I've done posts from applets to upload files before too...just
didn't think this would work for automatic login because
Personally, I'd keep this particular signature as a collection - you can
have valid data that might break the single-return interface.
Of course, you might be dealing with such a small 'universe' of entities
that you consider this unlikely, but such assumptions make me _very_
nervous.
Perhaps
Either override in your ejb-jar's jboss.xml (think that is possible) or
have a new configuration in standardjboss.xml with other min/max-values
and reference that one in your jboss.xml (that works anyway).
/L
torsdagen den 6 mars 2003 kl 17.17 skrev Corbin, James:
Hello,
Is there a place to
You will have a FinderException if the sql-query gets more than one hit
and you defined the finder as a single-finder.
/L
torsdagen den 6 mars 2003 kl 17.30 skrev Dan Christopherson:
Personally, I'd keep this particular signature as a collection - you
can have valid data that might break the
I want to use Velocity. I would like my Servlet to simply place my Local
EJBs inside of the Velocity template's context and then the template call
methods on the EJB. That's the simplest way, but I know that each call to
getXXX() would most likely require a new transaction. So, is it better to
TransactionServletFilter: on entry start a transaction and on exit
commit it.
-dain
On Thursday, March 6, 2003, at 11:46 AM, [EMAIL PROTECTED] wrote:
I want to use Velocity. I would like my Servlet to simply place my
Local
EJBs inside of the Velocity template's context and then the template
I commited such a filter for nukes, for the same usage.
In cvs /nukes/nukes/src/main/org/jboss/nukes/servlet/TransactionFilter.java
In fact you have to wrap local calls in a transaction
unless you don't want to iterate on cmr collections.
If you have ideas on the same topic, please share them.
Hello All,
I am trying to build yesterday's night snapshot of JBoss 4.0 source code and
getting the following error:
Thanks in advance for your help.
rgds
MS
configure-modules:
Overriding previous definition of reference to jboss.naming.classpath
_default:compile-classes:
[depend] Deleted
Simone Milani [EMAIL PROTECTED] writes:
I think what Tomcat does after a post to j_security_check is look
inside theser session (private to the container -
org.apache.catalina.Session) for anttribute containing the
original page that the user was trying to access.
If it cannot find it
Hello gang
Can someone point me to the FAQ's? Im trying to find out the necessary
steps to use mysql instead of hypersonic database. Basically what do I
need to remove hdb and add mysql. Ive googled but find tons of howto's
that are out of date. Anyway, if one of you could give me a push
JBoss 3.0.4/ Postgres 7.3
I have a servlet that updates a table via this bean. I hit the servlet and the
row is created just fine. An external application (not using beans) remove the
record from the db. I then hit the servlet again - this time when the code does
the create() method I get
I am having the exact same problem, except:
JBoss 3.2.0RC3
RedHat 7.3
Java 1.4.1
Anyone know anything about this?
-dave
On Wednesday, February 19, 2003, at 06:40 PM, Hunter Hillegas wrote:
Just put 3.2.0RC2 up on our test server (Apple Xserve, Apple Java
1.3.1) and
when deploying an MDB
Did you look here:
http://prdownloads.sourceforge.net/jboss/QuickStart-30x.pdf ?
Other documentation info is available at http://www.jboss.org/docs/
Steve Coy
On Friday, March 7, 2003, at 06:09 AM, Mike wrote:
Hello gang
Can someone point me to the FAQ's? Im trying to find out the
Under JBoss 3.0.4 / Tomcat 4.1.12;
I have a suite of CMP entity beans communicating with an Oracle 9i data source via a LocalTxConnectionManager.
Occasionally, I encounter the following exception trace on the server (at which time, a finder method incorrectly reports that a given entity does
I'm running a 3.0.4 system with an XA datasource configuration copied
from the oracle-xa-service.xml example.
My code is:
InitialContext ic = new InitialContext();
DataSource ds = ic.lookup(java:/XAExtensionDS);
Connection con = ds.getConnection();
ds is of type JDBCDataSource which is
On Thursday 06 March 2003 02:09 pm, Mike wrote:
Can someone point me to the FAQ's? Im trying to find out the
necessary steps to use mysql instead of hypersonic database.
Basically what do I need to remove hdb and add mysql. Ive googled
but find tons of howto's that are out of date. Anyway,
(Apologies for my email client removing the original message)
Under JBoss 3.0.4 / Tomcat 4.1.12;
I have a suite of CMP entity beans communicating with an Oracle 9i data
source via a LocalTxConnectionManager.
Occasionally, I encounter the following exception trace on the server (at
which time, a
-Original Message-
From: Brian Wallis [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 8:53 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] XA Datasource Oracle Problem (3.0.4)
I'm running a 3.0.4 system with an XA datasource configuration copied
from the
I just downloaded the updated version of the alldocs subscription and found
that it still has JbossBook_304.zip. Shouldn't it include JBossBook_305.zip?
thanks, brian wallis...
---
This SF.net email is sponsored by: Etnus, makers of
On Fri, 7 Mar 2003 16:17, Brian Wallis wrote:
I just downloaded the updated version of the alldocs subscription and
found that it still has JbossBook_304.zip. Shouldn't it include
JBossBook_305.zip?
My fault. Found the new ones.
thanks,
brian wallis...
Can anyone point me to a good resource on AOP...fundamentals n stuff??
TIA,
Rahul.
---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
On Fri, 7 Mar 2003 15:49, Igor Fedorenko wrote:
No, it should not. Container is supposed to take care of XA stuff and give
java.sql.Connection to EJBs.
I'm trying to co-ordinate a transaction between a JDBC operation to read rows
from a table and a JMS topic publish that publishes the data to
On Fri, 2003-02-07 at 17:10, Andrew Carpenter wrote:
[EMAIL PROTECTED] 7/02/03 14:03:58
Example 2 runs because of serialization isolating the changes made to the class
identity due to redeployment. You either have to redeploy both or isolate
the apps from each other using serialization via
There is an article called JBoss Aspect Oriented Programming on the jboss
web site.
http://www.jboss.org/developers/projects/jboss/aop.jsp
Hope that helps..
Kristian
--
Orientation in Objects GmbH
http://www.oio.de
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL
32 matches
Mail list logo