Joe Robles

Greenhorn
+ Follow
since Jan 13, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Joe Robles

Hi all,

I am working on weblogic 92 server.

Is there a setting to be set inorder to see the following in the logs files:

1) system.out.println messages from the deployed ear.
2) exception stack trace of an exception from the deployed ear.

Also once set, in which log files would I find the output (server or domain level logs)?

Help is highly appreciated.

Thanks in advance.
14 years ago
Hi all,

We have weblogic 9.2 version.

Is there a way to remote/debug a J2EE application deployed on a weblogic cluster. I have an issue that is happening only on the cluster enviornment and thus need to debug it thru eclipse.

Please let me know the steps to accomplish this.

Your input is highly appreciated.

Thanks in advance for your valuable input and time.


14 years ago
Hi all,

I am using org.apache.commons.dbcp.BasicDataSource for database connection and Spring JDBCtemplate.queryForList() with a preparedStatement. The preparedstatment does not return data when I pass a string as below thought there is data in the database. The query works for other integer values that are passed. I am not clear as what I am missing here.



Any help is highly appreciated.

Thanks in advance.

14 years ago
Hi

My bad.

New example:

Date range that needs to be broken: 1960 - 2000

I chose to add the above values and divide by two; and need to repeat the same for each of the resultant ranges; then the resultant ranges need to end up like this:

1960 - 1965
1965 - 1970
1970 - 1975
1975 - 1980
1980 - 1985
1985 - 1990
1990 - 1995
1995 - 2000


Hope this helps...

Thanks.
14 years ago
Hi all,

I have a range of two date values. I need to write logic that keeps breaking the range further into lesser ranges till no more ranges are avaiable.

Is there any algorithm that I can use to do this in java.

Any help is highly appreciated.

Thanks in advance for your valuable time and interest.

Example:

start date - 01-01-1981
end date - 01-01-1988

The program must add the above and divide by 2 repeatedly so I get the following ranges.

1981-1988
1988-1994
1994-2000
2000-2006


14 years ago
Hi all,

I have a requirement to extract and migrate additional fields of data from legacy non-relational database system into the re-engineered relational database based application.

Main requirement:

1) To be able to accommodate the ever changing requirements for data from different clients; thus need a process to persist the newly required data that will avoid downtime of the system and has minimal effect system performance during read requests.

Some of the options we have are as follows but not sure which is better over the other:

2) Migrating data using the application to persist the data into the relational database.
3) Migrating data direclty into the relational database.

In this regard, are there any industry standards in place as this is a common issue in many enterprise applications.

Any help in this regard is highly appreciated.

Thanks in advance for your time and interest.
14 years ago
Hi

Thanks for the prompt reply.

Could you give pointers to the examples/articles/books for the following using Spring aop:

1) Avoiding try catch blocks
2) Spring aop based exception handlers
3) how to implement xml conifguration of rules as what to do with different types of exceptions - log/rethrow certain exceptions based on business requirements.

Thanks in advance.
Also is there a way to implement Spring aop based rules (instead of using third party rules engine) to decide at the facade layer as what to do with different types of exceptions thrown by the different layers of the system - whether to log them/rethrow etc.

Thanks.
The application already has non-aop based exception handling framework in place. Now there is a need to refactor it and thus exploring the usage of aop including its usage in try/catch blocks and the other two needs mentioned in my original post.

Hope to know your input.

Thanks.
Hi all,

I am new to rules engine world. I am exploring ways to implement exception handling in my application - when to throw an exception and what to do with different types of exceptions.

I want to explore if Spring aop can be used in creating a simple rules engine or is there a need to use third party rules engines like groovy/drools with spring aop?

I am sure many of you must have already used some of the approaches for this same purpose. Thus any pointers are highly appreciated.

Thanks in advance for your valuable time and input.
Hi all,

I am working on a service that is part of many services in a large SOA architecture based enterprise application. My service is a pojo based application that is deployed on weblogic server and uses Spring for autowiring the components.
The clients of this service are other serives. There are webservices, rmi and socket based clients. The webservices clients are two types - soap and simple http url based xml requests. The requirement is to desing security to my service that is independent of the client request type.
The service is supposed to process a quarter million requests per day and 99% of them are simple http requests.

The requirement is to design security to my service that is independent of the client request types.

The high level requirements are:

a) The security implementation must not be tied to a particular tool/technology as fara as possible, in case the service needs to be deployed on a different vendor specific application server.

b) Some clients applications/services send user credentials and some do not; How to design security in terms of authentication, authorization and access control that handles both the cases.

c) How to implement security specific to webservices which MUST be common to soap and simple http requests.

I am new to security and webservices. I did some home work and came across digital cetificates in case of authorization and filters for common seecurity for soap and simple http/rest like requests.
But I do not enough information to have a head start in terms of techologies, design and implementation.

Thus any pointers related to my problem domain in terms of security patterns/web site urls/books/technologies/examples would be HIGHLY appreciated.

Thank you in advance for your valuable time and interest.
15 years ago