Harm de Laat

Greenhorn
+ Follow
since Sep 07, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Harm de Laat

Originally posted by Sebastiaan Kortleven:
you can reference to the style sheet using a full path instead of just the stylesheet name. Like this you can deploy another war that contains just the style sheet... I think...

gl



Correct. You can even use the style-sheet from a complete different webserver.
Hi all,

I have two servers. The first server (A) checks the filesystem for new files. If a new file is found a (JMS) message should be send to the second server (B) to do some processing.

Both machines run JBoss 3.2.3 application server.

I just read the JMS tutorial from sun. And read the following:

The PERSISTENT delivery mode, which is the default, instructs the JMS provider to take extra care to ensure that a message is not lost in transit in case of a JMS provider failure. A message sent with this delivery mode is logged to stable storage when it is sent.



Does this mean that when server B (for whatever reason) is down, and server A tries to send a message to B the message is persisted and tried again later?

I have to be absolutely certain that all messages eventualy get to server B, regardless if server B was down for a period of time.

What would be your strategy on implementing this?

Regards,

Harm de Laat
Informatiefabriek
The Netherlands
i all,
I'm trying to develop a very basic JCA Adapter for Lotus Domino.
I'm using JBoss as my application server. And I want JBoss to pool my connections.
Lotus has a (native) library available which can be used to connect to domino using java.
A basic connection is made as follows:
Session s = NotesFactory.createSession("hostname", "username", "password");
Now I build a JCA adapter so that I can lookup the ConnectionFactory from my (session) beans using JNDI.
Has somebody done something similar? Or does somebody has a basic example for me? I'm realy stuck on this.
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
Hi all,
I'm thinking of starting teaching J2EE design.
I'm wondering if this is possible. Do I need some kind of certification to teach J2EE? Do I have to pay to use the name 'J2EE'?
I have searched the net about this issue, but I can't figure out what is required to teach J2EE.
Thanks in advance,
Harm de Laat
The Netherlands
Hi all,
I made a J2EE application which uses entity beans. The weblayer uses a session facade session bean which lookups up entity beans and passes the information as value objects.
This works fine.
My ValueObjects also have relations defined.
For example:
Client 1 ---- n Address
In my JSP I can do:
<%
ClientValueObject client = request.getParameter("client");
out.println(client.getAddress().getStreetName());
%>
This also is great. But sometimes I don't need the Address class and just show the Client information in my JSP.
I made the SQL generated visuable in my JBoss console. I was shocked to see that so much SQL was generated.
When large queries are needed this realy slow's down my application.
I looked into the valueObject pattern. And saw that I can make several light-weight value objects, to get specificly needed values. Which causes less SQL beeing generated.
What is a good strategy for passing information between the EJB tier and the WEB tier?
Is it a good strategy to maintain relationships between value objects? Or are the some smarter ways of optimizing?
Thanks!
I think mostlikely you don't have permission to access the method you are trying to call. Look in your deployment descriptor to check the permissions.
Hi all,
I have a J2EE application running in JBoss.
In my application I need some configuration. For instance, we have to email certain recepients when a action occurs. (For instance, when a certain entity bean is removed we have to send an email to a person). In this email we need to have a configurable messagebody, subject, recipients, reply-address etc... etc...
I cannot use the bean environment entries because these only get read at deploy time. I need to be able to change the configuration during run-time.
What would be a good way to make this as configurable as possible?
Thanks for any suggestions!
Yes, it does.
21 years ago
And in my specific case? Because i'm violating the spec, can I break something?
Why should you not use java.io.* in EJB's?
For instance, I have a MessageDrivenBean which does some image processing.
In my JMS message to the bean I include the absolute path to the image file.
Then I do the processing, and save the image.
Is there anything wrong with that? (I'm asking because I have to use the java.io.File class).
I guess you installed JBoss in the 'program files' directory.
You need to install JBoss in a directory containing no spaces at all.
You might consider to try: c:\jboss
Good luck
21 years ago