I wanted a place where I can post technical articles only. This is the place to find out my tips and tricks for being a Java web applications developer. I hope it helps you.
Saturday, November 28, 2015
Filtering without Lambda or Java 8
I wanted a way to filter generally without using Lambda or Java 8.
Monday, November 16, 2015
File path from Class Relative
determine current filesystem location of executed class from the code of this class, in runtime, given that it's executed using
http://stackoverflow.com/questions/11747833/getting-filesystem-path-of-class-being-executed
java
command?http://stackoverflow.com/questions/11747833/getting-filesystem-path-of-class-being-executed
Sunday, November 15, 2015
Creating CORS Web Service for AngularJS
CORS is the ability to allow cross domains scripting. This can be important if you say want to host your website on S3 and have those pages access web services in EC2. I spent TONS of time trying to find how to configure AngularJS to use CORS and what I generally saw was people saying...
The example I am using is based on the Spring, Jersey, run-as-ajar example you can find on GitHub. So lets start with the server side then:
"You need to configure the server side for access control, not the client."Well that's not entirely true.
The example I am using is based on the Spring, Jersey, run-as-ajar example you can find on GitHub. So lets start with the server side then:
And here is the client side...
Saturday, November 07, 2015
Subscribe to:
Posts (Atom)