Hi there,
I'd like to have your expert explanations about an architectural question. Imagine a Spring MVC webapp, with validation API (JSR 303). So for a request, I have a controller that handles the request, then passes it to the service layer, which passes to the DAO one.
Here's my question. At which layer should the validation occur, and how ?…
Definitions: resource = collection of database records, regeneration = processing these records and outputting the corresponding html
Current flow:
Receive client request
Check for resource in cache
If not in cache or cache expired, regenerate
Return result
The problem is that the regeneration step can tie up a single server process for 10-15…
I am trying to update a program which was wrotten in 1995 with pascal or c. I am not sure about programming language. Command line program. Now I am coded in C#. And I want to read program command line content. Is it possible?
I tried something. But not succesfull. They are:
private void aboutToolStripMenuItem_Click(object sender, EventArgs…
VS 2008 SP1 craching when I open an ASPX file on Windows XP
Has anyone experienced this before ?
VS does not give me any error messages. It simply shuts down very quickly.
Hi,
I would like to know if anyone has info or experience on how to do something which sounds simple but doesn't look like it when trying to program it.
The idea is : give a string containing an equation, such as : "2*x = 10" for example (this is simple, but it could get very complex, such as sqrt(54)*35=x^2; and so on....) and the program would…
In Visual Studio 2008, after debugging about 1-2 minutes, when I press F10 (Step Over), the debugger hangs and Visual Studio freezes for 5-10 seconds and then go to the next line. Then whatever I do (F10, F5, F11, etc), the debugger continues the execution as if i pressed F5 and all my forms that I was debugging close. I always have to restart…
I need to create two different black binary rectangles using Matlab, to overlay a part of both and to extract the insertion.
How can I overlay two binary images?
-------|----------|
| | 2 |
| 1 |----|-----|
| |
|-----------|
I created my two binary images using the false(X, Y) Matlab function.
I dont find how to…
I am currently trying to add 301 redirect to my routes in MVC
to do this I have tried to inherit from the MvcHandler.
The handler gets instantited with the right values. but I am never able to debug the overridden methods.
can someone show me a working attempt at this? the asp.net pipe simply seems to the doing its own thing...
public…
I'm programming a function to build an URL, here it is :
public static function requestContent($p_lParameters)
{
$sParameters = "?key=TEST&format=json&jsoncallback=none";
foreach($p_lParameters as $sParameterName => $sParameterValue)
{
$sParameters .= "&$sParameterName=$sParameterValue";
}
echo…
Hi,
On my current project, custom http header variable need to be set while redirecting for http basic auth.
Can I instruct redirect_to for custom headers ?
Thanks.
Thanks to our team in Portugal we are running a great SOA & BPM Partner Community Forum in Lisbon this week. Yes we made our way to Lisbon – thanks to Lufthansa! Program Wednesday April 21st 2010 Time Plenary agenda 10:00 –…
If you ping google.com from different countries you will get replies from local google servers. How does that work? Can a DNS record have multiple A addresses? Could someone point me to the technology they use to do that?
Update. OK, so Google's DNS server gives out a different IP based on the location. But, as Alexandre Jasmin…
Hello,
I would like to run some tests on v8 with and without JIT to compare
performances.
I know JIT will improve my average speed performance, but it would be
nice for me to have some actual more detailed tests results as I want to work with mobile platforms.
I haven't found how to enable or disable JIT like it exists on…
I have an XNA app, but I really need to add multiple render windows, which XNA doesn't do. I'm looking at SharpDX (both for multi-window support and for DX11 / Metro / many other reasons). I decided to hack up the SharpDX DX11 MultiCubeTexture sample to see if I could make it work.
My changes are pretty trivial. The…
CodePlex Daily Summary for Monday, November 26, 2012Popular ReleasesRedmine Reports: Redmine Reports V 1.0.7: added new sample report added new DateRange feature for report generation (see issue Tracker ID 15372) updated to latest MySql (6.6.4.0)sb0t v.5: sb0t 5.00 alpha 4: First public alpha release. Don't be…
So, I've installed the ADT Plugin, run a HelloWorld, restart my computer and after that the Eclipse can't run. A message appear:
"An error has ocurred. See the log file: /home/todi (...)"
Here is the log file:
!SESSION 2011-07-26 22:51:59.381
-----------------------------------------------…
Hi,
The text below is the dump of a multidimensional array, dumped by the var_dump() PHP function. I need a Java function that reads a file with a content like this (attached) and returns it in XML.
For a reference, in site http://pear.php.net/package/Var_Dump/ you can find the code (in PHP)…