Posts

Google Developers Blog: Better Web Templating with AngularJS 1.0

I have tried out a bit AngularJS. I have to say I am sad to get to know it so late, because it could have been of grate use for certain html form related project. I really like the dynamic web templating of AngularJS, as you it makes the overall code very neat and easy to read. Source: Google Developers Blog: Better Web Templating with AngularJS 1.0 : By Miško Hevery , Google AngularJS team AngularJS lets you write web applications as if you had a smarter browser.  It lets you extend ...

A pew-pew manifesto...

Interesting discussion about Javascript by Bernd Paradies from Adobe. JavaScript is not suitable for large web apps

Compile Error: WSDLException, faultCode=CONFIGURATION_ERROR...

I found the best solution for such errors when using Spring WS. So, if you see errors like:  WSDLException, faultCode=CONFIGURATION_ERROR... Take a look at this url

Nicely categorized list of java libraries/utilities/frameworks

For up-to-date frameworks/utilities/libraries, this truly deserves it's name, ultimate collection! source Further, there are very nice tutorials/examples in there as well!

Turn off the windows automatic updates

I am one of those people who don't like to turn off their PCs. Yea, really nice waste of energy, I know... Usually work PC is the place when always something is running overnight, either some sort of calculations, parsing, simulations or any other nerdy stuff are performed. The most annoying part, when you work on windows, are the automatic updates. It can restart your PC by itself just to apply just installed updates. "§$%&%$ windows! The disable such a stupid option, Go to Start, Run "gpedit.msc" to bring up the group policy editor. Then navigate to the folder Local Computer Policy ->Computer Configuration ->Administrative Templates ->Windows Components ->Windows Update There are two settings and both will work, so it's your choice. Either enable No auto-restart for schedule Automatic Updates installations or set Re-prompt for restart with scheduled installations to a long time interval, like 1440 minutes. I prefer the first on...

Runtime Error:class loading constraint violated

Webapp reports the following error every time it tries to poll the sql server: Uncaught exception thrown in one of the service methods of the servlet: dispatcher. Exception thrown : org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.VerifyError: class loading constraint violated (class: com/microsoft/sqlserver/jdbc/SQLServerResultSet method: updateNClob(ILcom/microsoft/sqlserver/jdbc/NClob;)V) at pc: 0 And it worked in the local environment, but not on the test server. SOLUTION: Go to test server WAS Integration Solutions Console, Applications->Enterprise Applications, and then click on your application Within Detail Properties, press, Class loading and update detection and there switch the Class loader order from Classes loaded with parent class loader first to Classes loaded with application class loader first. If you had it already set, then your issue is different then mine. Core explanation of the this error i...

Parsing the Logical expression

Sometimes you need to parse the logical expression. I have made for my own purposes the regular expression which would distringuish all important tokens from the logical expression: ([\(!\s]*)[\s]*([^<=\s]+)[\s]*(<>|!=|==|<=|>=|<|>)[\s]*([^\s&|\)]*)[\s]*([\)]*)(&&|\|\|)? or as java string: "([\\(!\\s]*)[\\s]*([^<=\\s]+)[\\s]*(<>|!=|==|<=|>=|<|>)[\\s]*([^\\s&|\\)]*)[\\s]*([\\)]*)(&&|\\|\\|)?" this would give for  !(! (one== 56) && two>45) || !three!=funny the following solution Regular Expression ([\(!\s]*)[\s]*([^<=\s]+)[\s]*(<>|!=|==|<=|>=|<|>)[\s]*([^\s&|\)]*)[\s]*([\)]*)(&&|\|\|)? as a Java string "([\\(!\\s]*)[\\s]*([^<=\\s]+)[\\s]*(<>|!=|==|<=|>=|<|>)[\\s]*([^\\s&|\\)]*)[\\s]*([\\)]*)(&&|\\|\\|)?" Replacement $1fieldValue(\"$2\")$3$4$5$6 groupCount() 6 ...