blog.usul.org
Oh My Blog ! Java EE » Oh My Blog !
http://blog.usul.org/tag/java-ee
Yet another geek blog. CORS-Compliant REST API with Jersey and ContainerResponseFilter. Février 27th, 2012 Author:. I recently had to consume a REST API with a cross-domain call and i’ve found a solution in this excellent blog post. The problem with this implementation is that you. Need to call a method for each of your api’s methods. So with the ContainerResponseFilter interface. You could do this for ALL. Of your methods … transparently. 1 – Configure web.xml. You just have to. And that’s all! Filter f...
mathieuhicauber-java.blogspot.com
Back end / Front end / stuff: Grunt uglify task breaks angular app
http://mathieuhicauber-java.blogspot.com/2013/12/grunt-uglify-task-breaks-angular-app.html
Back end / Front end / stuff. Technical blog about Java, front end dev and tooling, and other stuff. Trying to share solutions to issues I've encountered. December 30, 2013. Grunt uglify task breaks angular app. Here is the error in the browser console :. Error: [$injector:unpr] Unknown provider: aProvider - a http:/ errors.angularjs.org/1.2.7-build.2026 sha.7d6e5a2/$injector/unpr? 20%3C-%20a at http:/ localhost:9000/vendor/bower components/angular/angular.js:78:12. Minification included in uglify task b...
mathieuhicauber-java.blogspot.com
Back end / Front end / stuff: Translate Angular-UI DatePicker - text and popup buttons too
http://mathieuhicauber-java.blogspot.com/2014/05/translate-angular-ui-datepicker-text.html
Back end / Front end / stuff. Technical blog about Java, front end dev and tooling, and other stuff. Trying to share solutions to issues I've encountered. May 11, 2014. Translate Angular-UI DatePicker - text and popup buttons too. You might want to Angular-UI date picker in your own language instead of default english. Fortunately, guys at Angular-UI team did the job well and used i18n angular system. All you have to do is to include the correct language pack :. As stated in the doc. Chrome 38 / Chromium...
mathieuhicauber-java.blogspot.com
Back end / Front end / stuff: PowerMock and SSL Context : NoSuchAlgorithmException
http://mathieuhicauber-java.blogspot.com/2013/07/powermock-and-ssl-context.html
Back end / Front end / stuff. Technical blog about Java, front end dev and tooling, and other stuff. Trying to share solutions to issues I've encountered. July 18, 2013. PowerMock and SSL Context : NoSuchAlgorithmException. I was trying to unit test a method that's sending an HTTP message to a potentially secured URI. Therefore, somewhere in the process the javax SSL Context interface is used. Use @PowerMockIgnore annotation on the top of your test class :. Found the solution thanks to this thread. Lifer...
mathieuhicauber-java.blogspot.com
Back end / Front end / stuff: JAX-RS / Jersey CORS Filter and JAXB List
http://mathieuhicauber-java.blogspot.com/2013/01/jax-rs-jersey-cors-filter-and-jaxb-list.html
Back end / Front end / stuff. Technical blog about Java, front end dev and tooling, and other stuff. Trying to share solutions to issues I've encountered. January 17, 2013. JAX-RS / Jersey CORS Filter and JAXB List. I had to implement CORS functionnalities for cross domain javascript in my REST app. I stumbled upon the excellent solution posted by Usul. Basically, you have to implement a ContainerResponseFilter that will check request headers and set response headers :. Method, I had to set the headers "...
mathieuhicauber-java.blogspot.com
Back end / Front end / stuff: Chrome 38 / Chromium keeps crashing in Ubuntu 14.10 (or the Ooops syndrome)
http://mathieuhicauber-java.blogspot.com/2014/11/chrome-38-chromium-keeps-crashing-in.html
Back end / Front end / stuff. Technical blog about Java, front end dev and tooling, and other stuff. Trying to share solutions to issues I've encountered. November 13, 2014. Chrome 38 / Chromium keeps crashing in Ubuntu 14.10 (or the Ooops syndrome). Start chrome with "- disable-gpu-sandbox flag". Since I moved to Ubuntu 14.10; I experienced frequent crashes of latest chrome release. Had the same issue in chromium. The problem only occurred on some pages, but couldn't detect root cause. Alacarte software...
ossadmin.wordpress.com
Goodbye Vodafone UK Nexus One ROM! Hello Gingerbread. | The Open Source Administrator
https://ossadmin.wordpress.com/2011/02/26/goodbye-vodafone-uk-nexus-one-rom
The Open Source Administrator. Technical opinions, ideas, and problem solving. Goodbye Vodafone UK Nexus One ROM! Mdash; 135 Comments. February 26, 2011. In case this is copied, go to the original site which should be https:/ ossadmin.wordpress.com/2011/02/26/goodbye-vodafone-uk-nexus-one-rom. Note: This is a long post. Please make yourself familiar with all the steps before proceeding with the upgrade! For the passimg step, make sure you extract. I am going to install stock US google rom. I then discove...
blog.usul.org
Oh My Blog ! Tutorial » Oh My Blog !
http://blog.usul.org/category/tutorial
Yet another geek blog. How to have custom mapper keys in your documents with Jongo. Décembre 31st, 2013 Author:. I’m giving a try to Jongo. In a project but I have to manage documents with ‘not really java compatible keys’. For example, a key with a first upper case letter and some ‘-’ inside … (well ok that’s ugly but I can’t change that now). In spring-data, I’m using MappingMongoConverter. It works but Jongo seems to be easier to use and deploy than spring data. 1 – Create a NamingStrategy. Package co...
blog.usul.org
Oh My Blog ! MongoDB » Oh My Blog !
http://blog.usul.org/category/nosql/mongodb
Yet another geek blog. How to have custom mapper keys in your documents with Jongo. Décembre 31st, 2013 Author:. I’m giving a try to Jongo. In a project but I have to manage documents with ‘not really java compatible keys’. For example, a key with a first upper case letter and some ‘-’ inside … (well ok that’s ugly but I can’t change that now). In spring-data, I’m using MappingMongoConverter. It works but Jongo seems to be easier to use and deploy than spring data. 1 – Create a NamingStrategy. Package co...
blog.usul.org
Oh My Blog ! JAX-RS » Oh My Blog !
http://blog.usul.org/category/java/java-ee/jax-rs
Yet another geek blog. CORS-Compliant REST API with Jersey and ContainerResponseFilter. Février 27th, 2012 Author:. I recently had to consume a REST API with a cross-domain call and i’ve found a solution in this excellent blog post. The problem with this implementation is that you. Need to call a method for each of your api’s methods. So with the ContainerResponseFilter interface. You could do this for ALL. Of your methods … transparently. 1 – Configure web.xml. You just have to. And that’s all! Filter f...
SOCIAL ENGAGEMENT