Title: RE: AW: [JBoss-user] How can I use a background process with JBos s
Hi.
Interesting question, i dont have clean answer.
How about that you write a entry in database table after order processing with status. Now every struts action should check it and if order id matches order id of
Hello,
> on user's requirements). A user may choose to upload a file (as
> large as 20
> or 30 megabytes) to the servlet engine. Another user may choose
> to download
> one of these uploaded files. On the backend this is also done
Just a small note on this...
During one project, we had to ma
Hi,
> On the backend this is also done for new mail,
> using Javamail (I might decide to use something else...Javamail is turning
> out to be painfully slow...especially using the Sun JVM.)
What alternatives to Javamail do you see? Whilst we haven't really put it under any
pressure yet, we
Sorry for the late reply everyone...I thought I was resubscribed (my @Home
account was discontinued, and I kept procrastinating about updating my email
addresses)...as it turned out, I missed the request for confirmation I had to
reply to :(
Peter Levart wrote the following excerpt on Feb 13,
Hi,
I haven't got any feedback on the issue raised in the original mail, but
I've noticed that the Nightly Snapshots are available again:
Directory: /snapshots/
jboss-all.tgz 17572458 bytes Jan 15, 2002 9:29:26 AM
jboss-all.zip 19199973 bytes Jan 15, 2002 9:29:06 AM
jboss
On 2002.02.13 16:55:34 -0500 David Ward wrote:
> I would love to see your javaspace adapter.
I posted it as a patch, 517252
I'd sure like some help finding out if it works, if anyone knows how to get
jini services started. I was thinking running the other jini services as
mbeans might be approp
Hi all,
when I run this code..I get the error
Could not lookup topic/testTopic
java.lang.ClassCastException: javax.naming.Reference
does anybody now what is the reason?
thanks
srini
public static Context getInitialContext() throws NamingException{
// Populate with needed propertis
I would love to see your javaspace adapter.
Man, just read that line out loud; it sounds almost sexy.
Are we geeks or what!?
If you think about it, the core of database systems is how they are able
to keep those data files clean and proper in a transactional, secure
fashion. It still ends up
We've had experience similar to yours with the collections types, where
we've had to create a new collection each tx, but I would hope that isn't
required.
Of course JBoss does support Dependant Value Objects
(http://www.jboss.org/online-manual/HTML/ch06s14.html) that might solve your
problem.
h
> AFAIK, "they" don't want you to do io because 1) io can block forever,
> and 2) the filesystem isn't transactionally managed
I don't know if you can do this with EJB:
http://www.onjava.com/pub/a/onjava/2002/02/06/atomic.html
___
JBoss-user mailin
I think the only useful thing you can impelement with a file system
connector is serialization: keep connections from accessing the same file
at the same time. Transactions without versioning would be very difficult.
I don't really see any place for security.
If you are interested in an example
There is a good article in this month's JavaPro. It is online at:
http://www.fawcette.com/javapro/2002_02/magazine/features/tmodi/
-dain
Edward Q. Bridges wrote:
> my curiosity has been piqued. what's involved in making a .rar?
> is there someone that would be interested in helping me spec i
Problem: I need to be able to store large objects inside entity beans.
Unfortunately, the version of hsqldb provided with JBoss 3.0.0 alpha only
supports fields of up to 32KB. Apparently this has been fixed in the newest
version of hsqldb, 1.6.1.
Simply replacing the hsqldb.jar in lib/ext results
> Don't know if this helps. If you can't figure it out
> in the source, can you post to source forge a small
> test case that demonstrates this behavior.
Thanks, I'll try to reproduce this behavior with a
simple test case, as soon as I get the time. Just
wanted to be sure this wasn't a known
my curiosity has been piqued. what's involved in making a .rar?
is there someone that would be interested in helping me spec it out?
--e--
On Wed, 13 Feb 2002 18:15:37 +0100, Coetmeur, Alain wrote:
>
>it could be a good tutorial for .rar developement...
>any volunteer ?
>
_
Here is the code I use when you set a 2.x cmp field:
public void setInstanceValue(EntityEnterpriseContext ctx, Object value) {
FieldState fieldState = getFieldState(ctx);
// short-circuit to avoid repetive comparisons
// if it is not currently loaded or it is already dirty or
//
> -Message d'origine-
> some ClassLoader or security magic to keep you from using anything in
> java.io, but in practice I doubt anybody does that.
the java.policy and the security manage should do that job
> AFAIK, "they" don't want you to do io because 1) io can block
> forever,
>
I get this every time I send a mail to jboss-user. I'm assuming
everyone else does too. Can someone with the power remove the offending
email from the list?
[EMAIL PROTECTED] wrote:
> The following mail of yours could not be forwarded as per recipient's settings due
>to looping in mail deli
Dirk Storck wrote:
> But I must have access to the filesystem for copying purpose.
> How about using MBean's for that ? Can they be access as normal Beans ?
As much as the spec says you shouldn't do io from EJBs, technically you
still can (though I'm not advocating it ;) ). I tried it once and
> Are your sure that you imlemented equals correctly?
Pretty sure:
public class Queue
implements java.io.Serializable
{
static final long serialVersionUID = 554203L;
private java.util.LinkedList list =
new java.util.LinkedList();
// some methods...
public boolean equals
But I must have access to the filesystem for copying purpose.
How about using MBean's for that ? Can they be access as normal Beans ?
-Ursprüngliche Nachricht-
Von: Rajeshwar Rao V [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 13. Februar 2002 16:23
An: Ricardo Argüello; [EMAIL PROTECTED
Hi Michael,
Thanx for ur answer, but the url
http://java.sun.com/j2ee/dtd/application_1_3.dtd
doesnot exist on sun's site.
So i guess problem is somewhere else... :(
Ny more comments from ne one else...
Thanx in advance,
Sanjay
>>> "Michael Schulz" <[EMAIL PROTECTED]> 02/13/02 08:37PM >>>
Perhaps
JBoss 2.4.4 is EJB 1.1 but also has MessageDrivenBeans.
--
Dirk Storck wrote:
> I can't use MessageDrivenBeans cause we have to use EJB1.1
>
> -Ursprüngliche Nachricht-
> Von: Edward Q. Bridges [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 13. Februar 2002 14:54
> An: [EMAIL PROTECTE
Message Beans are the best option...
If not use Scheduler in JBoss.
-Original Message-
From: Ricardo Argüello [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 7:39 PM
To: [EMAIL PROTECTED]; Jboss User (E-Mail)
Subject: Re: [JBoss-user] How can I use a background process with
CAN I use JBoss 2.2.2 with MDB ?
-Ursprüngliche Nachricht-
Von: Coetmeur, Alain [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 13. Februar 2002 14:45
An: '[EMAIL PROTECTED]'
Cc: Jboss User (E-Mail); Struts User (E-Mail)
Betreff: RE: [JBoss-user] How can I use a background process with JB
I think your problem is when you create the temp directory.
You used:
pdfFile = File.createTempFile( "HelloWorld", ".pdf", new File(
"/temp" ) );
Why don't you try following line without the "/":
pdfFile = File.createTempFile( "HelloWorld", ".pdf", new File(
"temp" ) );
When you use "/", that me
Perhaps if you changed the
first reference (to the V 1.3 dtd) to match the second reference, it would
work.
Change
To:
/j2ee/dtd/application_1_3.dtd'>
(I think you are missing the "/j2ee" section of the
URL)
-Mike
[Michael
Schulz] -Original Message-From:
[EMAIL PROTECTED]
why don't you essentially roll your own message driven bean? have a process
sitting out there (not ejb) listening to a jms queue. as it gets orders off
the queue, it processes them by synchronously calling an ejb, getting the
result, and notifying the client via another queue. the process, sinc
I think that file creation (and probably also file read)
is forbidden as-is in EJB, servlets and most J2EE components
however you may create a .RAR with a "TempFileFactory"
and a "TempFileConnection"... this JCA component
may even already exists...
I've never played with .RAR and JCA but it seem
Has anyone had problems creating temp files inside the container? Below is
the source code snippet and the resulting message from JBoss when I attempt
save a file created with the File.createTempFile() method. It appears that
the JBoss 'bin' folder is prepended to the path I give as a parameter on
I can't use MessageDrivenBeans cause we have to use EJB1.1
-Ursprüngliche Nachricht-
Von: Edward Q. Bridges [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 13. Februar 2002 14:54
An: [EMAIL PROTECTED]; Jboss User (E-Mail)
Betreff: Re: [JBoss-user] How can I use a background process with JB
Hi,
Am Mittwoch, 13. Februar 2002 14:16 schrieb Dirk Storck:
> Hi,
> I want to do the following:
> I have a ShoppingCart.
> The users clicks on order and the items from the ShoppingCart are moved to
> my OrderBean. ShoppingCart and OrderBean are EJB's.
It's funny to see how everyone is working o
you could write a cron-job which selects all unacknowledged orders,
processes them, and then acknowledges each order within a transaction.
it doesn't rely on jboss (or ejb for that matter), but there is no way
(that i know of) to do asynchronous processing in ejb 1.1. (that's why
message beans
It looks like you would need Message Driven Beans.
Read O'Reilly's Enterprise JavaBeans 3rd. Edition.
And check JBoss 3.0.0alpha documentation:
http://www.jboss.org/online-manual/HTML/ch08s20.html
Greetings,
Ricardo Arguello
- Original Message -
From: "Dirk Storck" <[EMAIL PROTECTE
why not just send the user an email after the order has been processed?
you could process the order using a message-driven bean that sends an email
when completed, since you won't know if the user is still available after
processing the order.
HTH
On Wed, 13 Feb 2002 14:16:36 +0100, Dirk
> Have you implemented equals() and hashCode() in your
> objects?
Great idea, but it doesn't seem to help :-(
--
Eric Jain
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
Hello,
just a
quick answer, maybe there must be thought more about it:
* what
about creating a role for each method of a bean (or each attribute), these roles
can be used in the deploymentdescriptor,
* let
the user create a higher role FINANCE (not named in the
deploymentdescriptor) and
On Wednesday 13 February 2002 01:36, you wrote:
> Two things come to mind here. First, values passed over local
> interfaces don't have to be serializable. Second, EJBs are forbidden
> from performing IO, because IO can block forever (you can cheat of
> course). How are you planning on getting t
a message bean can be a good idea...
send an XML or text message to your message EJB,
which will process the request in it's own thread...
by the way, for long transactions, if you can avoid transactions
(by default they timeout in 30 seconds. you can change
that somewhere in the transaction co
Did he used Forte? Could you help to send me with the connection parameters?
Madock
09/02/02 19:42:18, "Frans Thamura" <[EMAIL PROTECTED]> wrote:
>my staff success to use JNDI remotely to access to an EJB in JBoss server.
>
>Frans
>- Original Message -
>From: "Madock Chiwenda" <[EMAIL P
Hi,
I want to do the following:
I have a ShoppingCart.
The users clicks on order and the items from the ShoppingCart are moved to
my OrderBean. ShoppingCart and OrderBean are EJB's.
Now it comes to the problem. The order must be proccessed in background
cause it will have a long durration.
Afte
Have you implemented equals() and hashCode() in your objects? My guess is
that JBoss uses these either explicitly or implicitly to determine if the
object is the same as the stored version, and only re-writes when they
change. As the Object version of these methods simply refers to memory
addres
Complex (serializable) objects stored in a single field within a CMP 2.0
entity bean don't get updated permanently unless I create a new object and
store that. The log says something about the bean not being dirty. All
accesses are through local references. Am I doing something wrong, or is
this a
Hello to all of you Jboss users (especially the
ones that can help me)
I am starting to use Jbosssx for my security.
up until now I have had no problem testing it.
My problem though is that I am working on a fairly
large system and am confronted with the fact that the end users want to
if you put myservlet.war in $JBOSS_HOME/deploy you will be able to access
it via http://localhost:8080/myservlet
at least, that's the way it works with jboss-jetty
On Tue, 12 Feb 2002 15:11:14 -0800 (PST), Dustin Grabau wrote:
>I am still experimenting with servlets and find no use
>in t
45 matches
Mail list logo