Ramu Nur

Greenhorn
+ Follow
since Aug 21, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ramu Nur

Hi
Is there a way to configure Tomcat to return 200 for a specific URI like /context/test/api, without changing the web.xml but configuring only at the Tomcat ?

Thanks
10 years ago
Hi
I need to get connection pool metrics like DB connections that are active, passive/inactive and blocked, total available connections from DB etc for the applciation deployment capacity planning. I came across some tools like Proxool, DBPool etc, but don't give much details. We use DBCP that doesn't have any Listerners to implement.

I see one option of writing my own JDBC connection/statement, etc and override some methods, but that becomes cumbersome design for maintenance. Do you see any approach to get the metrics ?

Thanks
Rams
Hi
Is there a standard technique to set the JVM heap size for an application? Or is it a trail-and-error (after profiling) with some start up values?

Thanks
12 years ago
This is for jboss. The actual problem is, there are some dao classes and quartz schedulers in those common jars. they are started when war is deployed. If they are common, when two wars are deployed, the schedulers, dao connections etc are loaded twice. I want to avoid that.

any clues?
ABC.ear
- application.xml
- meta-inf
- xyz.war
- 123.war
- common1.jar
- common2.jar

Is it this way?
Thanks for reply. So, should the common jars go to WEB-INF\lib of EAR file? I know EAR has a META-INF, applicatoin.xml.
Hi
We have to create an EAR file that should have two WAR files. But these two WAR files share common application libraries. The two WAR files are build and added to EAR. When this EAR is deployed, the common classes are loaded twice resulting in duplicate schedulers. How can these common libraries be loaded only once? should they be removed from one WAR file?

Thanks in adv
Hi
We have to create an EAR file that should have two WAR files. But these two WAR files share common application libraries. The two WAR files are build and added to EAR. When this EAR is deployed, the common classes are loaded twice resulting in duplicate schedulers. How can these common libraries be loaded only once? should they be removed from one WAR file?

Thanks in adv
Hi,

I have an GWT application working perfectly currently. Say it as "APP1".The context path of APP1 is /APP1. Now I am introducing a new link into that application. Clicking on the new link will call home page of another GWT application, say "APP2". The context path of APP2 was different form APP1. The context path of APP2 is /APP2.

Can any one help me how to access the web application that was resided in different context path and how to forward the some data to second web application? I'm thinking it can be just a html href link with request data appended in the url...any clue?

Thanks,
12 years ago
Hi,
I'm working on some exercises on patterns. I've a requirement wherein the request object is same for 8 methods which invoke a webserice but the response object vary. In responses, some are objects, some of boolean, some are void. The legacy webservice is designed in such a way that response depends on request xml name.

What can be a better design pattern to consider. I thought of template method, but the template method response has to be Object and I don't want to cast it back based on request name. I can have 8 methods, but is there any alternative?

Thanks in adv.
12 years ago
Hi,
I'm working on some exercises on patterns. I've a requirement wherein the request object is same for 8 methods which invoke a webserice but the response object vary. In responses, some are objects, some of boolean, some are void. The legacy webservice is designed in such a way that response depends on request xml name.

What can be a better design pattern to consider. I thought of template method, but the template method response has to be Object and I don't want to cast it back based on request name. I can have 8 methods, but is there any alternative?

Thanks in adv.
Hi,
I've a requiremnt to define some static rules out of 5 elements. Of which, three elements have 5-6 different values and the remaining have 3 diff values. For each combination of these values, the result value is different.

For example, (EV = element value),
If (E1V1 & E2V1 & E3V1 & E4V1 & E5V1) then result = R1
else If (E1V1 & E2V1 & E3V1 & E4V1 & E5V2) then result = R2
etc etc

I might get some 500 rules like this and it may happen that one more element might be added in future and the existing resul values might be changes, etc.

But these rules are pretty static and there is no finaancial equations, there is no further processing out of this rules like this result is an input to another ruleset, etc etc.

I am not planningt to use rule engine where it has its own maintanance, downtime, hard to modify, hard to deply etc etc...We dont want to see any downtime in production...

Any help in identifying a best solution is appreciated...

Thanks
12 years ago
Hi
I've a requirement to implement some business rules. These rules will be based on 8-10 attributes and with multiple permutations. Please suggest how can this be implemented for a easy configurable, maintainable system.

I know there are some rule engines like iLOG, Drools etc, but the prod maintainability should be very minimum. Please suggest a JEE solution.

Thanks