sangeeth.github.io
sangeethlabs.com | Home
http://sangeeth.github.io/index.html
Welcome to my space. Like many software developers, I gained most of my knowledge from the web.Now, I believe it is my responsibility to share my experience with various technologies which I use, learn and develop. I hope I do justice to my thought. After several years of search, I finally found the most suitable technology to publish my thoughts. Right, this site is powered by Jekyll. To here. And also pushing my projects and code written in various languages to my Github account. RBAC using Apache Shiro.
sangeeth.github.io
sangeethlabs.com | Archives
http://sangeeth.github.io/archives.html
Loading twitter feeds using Twitter 1.1 APIs. Building Custom Hibernate User Type. RBAC using Apache Shiro. Limitations in Conventional Exception Handling. Using Java Native Interface. Invoking Fortran functions from Java. Using Dojo in a Java Web Application. Spring Security Contacts Example. API Authorization Using Spring Security. Loading twitter feeds using Twitter 1.1 APIs. Building Custom Hibernate User Type. RBAC using Apache Shiro. Limitations in Conventional Exception Handling.
sangeeth.github.io
sangeethlabs.com | Loading twitter feeds using Twitter 1.1 APIs
http://sangeeth.github.io/php/twitter-user-timelines.html
Loading twitter feeds using Twitter 1.1 APIs. 21 … Twitter generated OAuth params. 22 … oauth signature. 23 … Building the OAuth Header Value. 30 Invoking the Twitter API. 51 … Reference. 52 … The Twitter Class. Recently Twitter retired 1.0 APIs. With 1.1 APIs, Twitter mandates authentication. True, OAuth 1.0a. Based authentication. So gone are the days when we were able to access Twitter feeds using 1.0 APIs without authentication. No worries though. Twitter expects a valid value for HTTP. Create your O...
sangeeth.github.io
sangeethlabs.com | Blog
http://sangeeth.github.io/blog.html
Loading twitter feeds using Twitter 1.1 APIs. A simple article describing the steps required to access Twitter 1.1 APIs using OAuth. […]. Building Custom Hibernate User Type. Custom Hibernate user types prove handy whenever there is a requirement to use boolean and enum data types in the entity classes. In this […]. RBAC using Apache Shiro. A simple example to demonstrate role-based access control using Apache Shiro. […]. Limitations in Conventional Exception Handling. Using Java Native Interface. A simp...
sangeeth.github.io
sangeethlabs.com | Projects
http://sangeeth.github.io/projects.html
An open source Java SDK. It includes several useful foundation APIs and tools. The APIs are primarily useful for building standalone application and web applications. Most modern day software are translated in multiple languages used across the globe. Primarily, the web applications. There are plethora of computer languages being used to develop these software. Irrespective of software or language, the strings or messages used in the application need to be translated. An open source JavaScript SDK.
sangeeth.github.io
sangeethlabs.com | RBAC using Apache Shiro
http://sangeeth.github.io/java/shiro/rbac-using-shiro.html
RBAC using Apache Shiro. Java,Security,Shiro,Maven,Spring,Servlet. In this blog, I will explain how to do role-based access control ( RBAC. In a web application using Servlets, Spring IoC. As shown in the above figure, the application have four users;. The key steps in implementing the application using Apache Shiro. Defining the Shiro Realm. Protecting the Web Application. Defining the Shiro Realm. A resource to manage users and roles in the application. Each user in the application is an entity. Fu...
sangeeth.github.io
sangeethlabs.com | Hello World ! Using Java Native Interface
http://sangeeth.github.io/java/core/hellojni.html
Using Java Native Interface. Java,JNI,Native,C ,C. Assumption: I assume that you have already installed Java SDK. On your machine and you are using Linux. Open your favourite text editor, create a new file and write the following code. Save the file as. Ensure that the class name and the file name are same. Go back to your Terminal. Run the following command to compile the source code:. This generates a class file named. In the same directory. Javah com.sangeethlabs.HelloJNI. Java -cp . -Djava.li...The o...
sangeeth.github.io
sangeethlabs.com | Building Custom Hibernate User Type
http://sangeeth.github.io/java/hibernate/custom-hibernate-usertype.html
Building Custom Hibernate User Type. Hibernate,UserType,Enum,Boolean. In this article, I present. Loading twitter feeds using Twitter 1.1 APIs. A simple article describing the steps required to access Twitter 1.1 APIs using OAuth. […].
sangeeth.github.io
sangeethlabs.com | Limitations in Conventional Exception Handling
http://sangeeth.github.io/java/core/exceptionhandlinglimitations.html
Limitations in Conventional Exception Handling. Exception handling is an integral part of Java language ever since its birth. In this article, we will identify the known limitations in conventional exception handling. Let us assume that we were asked to develop a simple API. To perform file copy. Let us assume that the skeleton of the API. Is as shown below. May need to throw an IOException under the following circumstances. Is not a file. S is not a file. Cannot copy the file %s onto itself. TARGET FILE...
SOCIAL ENGAGEMENT