I came up with a problem related to serialization of Map having non-String key using Flex/Spring BlazeDS.
My class looks like about this:
MyEntity{
private Map<Entity2, Enum1> myMap
}
Type: Posts; User: Durden; Keyword(s):
I came up with a problem related to serialization of Map having non-String key using Flex/Spring BlazeDS.
My class looks like about this:
MyEntity{
private Map<Entity2, Enum1> myMap
}
Hi!
I am using Spring Flex 1.5.0.RELEASE. I want to create a custom implementation of org.springframework.flex.core.ExceptionLogger-interface and plug it in. How do configure it?
Thanks for reply.
I didn`t notice that converters were used default only for outgoing direction. But that explains all. :)
edit. Actually I noticed MessageInterceptor is better choice in my...
Hi,
I have situation, where I need to convert some parameter object value before the actual method is called. I created a GenericConverter implementation, which handles the conversion.
I...
Thanks for answering. I`m using Commons BasicDatasource. You might be right, it could be datasource pooling problem.
But, I haven`t been able to repet this problem again, everything has worked...
Hi,
I have a Spring Batch job, which uses HibernateCursorItemReader for reading some items from SQL Server 2008 database. The job has worked fine in unit & integration tests and in test...
Hi,
I am looking for a way to execute multiple jobs with queuing, each job must be finished before next starts. Does Spring batch support this out-of-the-box?
Resolved this.
I used dynamic SQL generation with late binding. Idea got from here: http://forum.springsource.org/showthread.php?t=73562
Hi,
I have typical batch situation, where I use JdbcCursorItemReader with prepared statement for reading database. PreparedStatement parameter values should be set from JobParameters dynamically....
Yes, we have SpringSecurityFilterChain fully configured.
The problem is session time-out, that throws that exception. That blocks the whole application, if exception is not catched no...
We are having an issue related to some kind of Spring security session handling.
Our case is:
User logs in via Spring security / BlazeDS integration. Use stops his interaction, but does not...
Resolved this by myself.
ResultSet iteration in mapper was not good choice, because it mixed up the cursor position in reader.
Instead, I created a NullObject for my model (using the NULL...
Some personal new recommendations:
Working Effectly with legacy code
Agile software development - princibles, patterns and practices
Well, you can use JdbcTemplate to query your procedures with standard "call procedure (?, ?)" syntax.
Hibernate also supports stored procedures with procedure mapping, see...
Hmm..it seems that this can be done with fetchsize. Have to test that..I could maybe iterate resultset on mapper fetchsize times.
Doesn`t anyone have any comments on this?
Here is an example for this.
Database contains 30 rows. 3 specified rows (columX, columnY, columnZ etc) must be mapped to one object
DATABASE
-------------------------------------...
Hi,
I`m using JdbcCursorItemReader to read database.
How can I read multiple rows with one cursor call? This resultset (say about 5 rows) should be mapped to one object with mapper.
One choice that came me mind was "staging area database". Instead of writing WS output to console, we could write them into temporary database. After that, we read & write items from staging are to...
Yeah, Web Service was .NET WCF Web Service and the console-client was .NET.
It was easy to do .NET client for it, but from Java client side it was extremely painfull to create it. We tried with...
Yep, we had to do this because of extremely bad interoperability problems between Java Web Service client & MS.NET WS.
We are just thinking is there any more better options..
I am having interesting scenario with batch application.
Batch app should write results from Web Service to database. Problem was communication between our client and WS service, so we did come...
This is quite general Spring-architecture:
Web layer
Service layer
DAO layer (including DAO`s & rich domain model)
So the call chain goes like this:
Personally I don`t like to externalize HQL/SQL queries. In the most cases, the DAO method local variable or class instance variable should contain the query string.
But, if you have lots and lots...
Picking this topic up. :)
I am looking for good books on architecture/framework design. Any suggestions?
These are already in my bookshelf:
Effective Java
J2EE expert one on one
J2EE...
I would recommend you to use Maven to manage your dependencies explicitly. Much easier to maintain. :)