I use a DefaultPointcutAdvisor to intercept ThrowsAdvice on a list of beans using a BeanNameAutoProxyCreator.
This works perfect except on one bean which starts a Runnable class in a thread. When...
Type: Posts; User: wexwarez; Keyword(s):
I use a DefaultPointcutAdvisor to intercept ThrowsAdvice on a list of beans using a BeanNameAutoProxyCreator.
This works perfect except on one bean which starts a Runnable class in a thread. When...
That is really disappointing. Is it just me or is this not a common requirement for large applications? What do people do?
Using Postgresql/Hibernate/Spring
I use ISOLATION_READ_COMMITTED as my default transaction type.
I am performing optimisitc locking via the hibernate version property.
Currently I manage...
My project has a swing front end and so there are deliverables to the client. I was wondering if anyone had any tips on securing java bytecode.
From what I have read there are 2 techniques:...
I run a client server app where the client is swing and the server is a spring/tomcat http invoker solution. Occasionally, I get these connection errors on the client side and I was wondering if...
bump. Anyone?
My system is spring based client server using httpinvokers. Tomcat runs on the back end, i use a swing client on the front end. My applications serves many customers where each customer has a...
I have a requirement in my application to access an external database (not the db I am using for the app) . The db will be accessed dynamically, as in the user will be supplying the db url,username...
Well when dates are dealt with on the server, by default they use the default time zone. So it isn't my code calling it so much as the java.util.Date class and java.util.Calendar class.
It...
Well that crushes all my hopes and dreams. I was trying to figure out a way to set it up so the default timezone of my server was the same as my client during each client request.
I am trying to apply aspectj ltw around advice to the java.util.TimeZone class
My first step is just to get AspectJ LTW working so i created a simple aspect:
@Aspect
public class...
I am using httpinvokers with a swing client. My app is being accessed by people in all different timezones and i would like each execution of a request on a the server to use the client's timezone. ...
It sounds like your former developer is trying to find some compromise or middle ground with his old style of development.
I have certainly developed quicky projects with hibernate/spring where i...
The problem seems to incur when I have a little incestual calling of a service class wrapped in an httpinvoker. The a method in service class A is called, then it invokes another service that has...
This is a weird one...I am having a problem with using beanshell scripts and httpinvokers.
My application is a java/spring/hibernate app with a swing front end.
I have been using the spring...
Thanks Marten. So much has been added since spring 1.x, i am almost back up to speed here.
Is there a way to declare a Map in a standalone outside of a bean property like:
<bean id="logins" class="java.util.Map">
<value>
<map>
<entry key="john" value="123123"/>
...
I got the code for the data source switching working, but the problem i have now is that the SecurityContext doesn't seem to stick.
I would assume that once I set it in a swing client that it...
Marten- Wow, thanks. your blog entry describes almost exactly the same situation I am in except the difference is I am using a swing front end with spring remoting through RmiServiceExporter.
So...
I don't understand what is meant by "scoped datasource". Is this a conceptual term or is this an actual class available in spring?
Please expland...
Good point, I am still searching for a clever solution where I wouldn't need to create N session factories.
Interesting thought. However I think searching the application context every time i make a DB call, that could add up. I do like the idea of incorporating scope.
The tools: Postgresql, Spring, Hibernate.
I am looking for some advice/suggestions on dealing with multiple data sources. Because of my security requirements, each customer site/install will...
thanks i will take a look at those
Does anyone have a spring book recommendation that really gets into spring security?