Keywords

.NET (3) .rb (1) *.cod (1) 3110c (1) Algorithm (1) Amazon Cloud Drive (1) amkette (1) Android (1) Apex (6) apex:dynamic (1) API (1) API version (1) Application Development Contest (2) Artificial Intelligence (2) Atricore (1) b2g (1) Binary Search Tree (1) Blackberry Application Development (1) Blackberry Java Development Environment (1) Blender Game Engine (1) bluetooth (2) Boot2Gecko (1) bug fix (1) C (1) C++ (2) Cloud computing (1) Cloud Storage (1) Code Blocks (1) Code for a Cause (2) codejam (1) Coding (1) const_cast (1) Custom Help (1) Dancing With the Googlers (1) Data Structures (1) desktop environment (5) Doubly Linked List (1) Dropbox (1) dynamic visualforce component (1) dynamic_cast (1) Enterprise WSDL (1) Execution Context (1) fedora 14 (1) fedora 17 (5) Firefox OS (1) Flashing Nokia 3110c handset (1) Force.com (7) Gaia (1) Game Developement (1) GCC (2) GDG (2) Goank (1) Google (4) Google Developer Group (2) Google Drive (1) GTK+ (5) HACK2012 (2) Hall of Mirrors (1) help for this page (1) HTML5 (2) HTTP Web Server (1) IDE (1) Identity Provider (1) Intelligent Systems (1) Java (1) JDE (1) JOSSO (1) location based social network (1) me.social (1) MinGW (1) Natural Language Processing (1) Natural Language Toolkit (1) neckphone (1) NLKT (1) Nokia Pheonix (1) Notebook (1) Numeric XML Tags (1) OAuth2.0 (1) OLPC (7) OLPC-XO-1 (7) One Laptop per Child (5) Override custom help (1) Paas (1) Partner WSDL (1) Polymorphism (1) programming contest (1) PyGTK (4) Python (10) Recycled Numbers (1) reinterpret_cast (1) Research (1) REST (1) RM-237 (1) Robotics (1) Ruby (1) Saas (2) Salesforce.com (7) SDK (1) Service Provider (1) Single sign on (1) SOAP (3) Speaking in Tongues (1) SSO Agent (1) SSO Gateway (1) static_const (1) sugar (7) sugar activity (4) sugarlabs (7) SVG (2) Symbiotic AI (1) Tabbed container (1) TCP/IP (1) TCP/IP stack (1) Typecasting (1) typeid (1) ubuntu 13.10 (1) UDP (1) Upgrade Assembly (1) Visualforce (2) Web Server (1) Web Services (3) Web2.0 (1) wikipedia (1) wikipediaHI (1) WSDL (1) XML tags (1)

Friday, February 11, 2011

Java Open Single Sign On: Give one ticket access to all your WebApps !


Most of the times we are irritated typing those long userids and passwords for different webApps. There is a solution to this problem. We can group these webApps and implement single sign on to ensure the user once logged in can access all those webApps without requiring to log in again. One such solution framework is JOSSO( Java Open Single Sign-On) which provides set of components and libraries to implement SSO for your WebApps. JOSSO provides mainly two components which are responsible for Session creation, Session maintenance, user authentication and many such services.


JOSSO comprises three main components:
SSO Gateway (IdP)It's the SSO server, also known as Identity Provider, responsible of acting as a the web access management authority for SSO-
enabled applications and their users.
SSO Agent: Handles the single sign-on use-cases and execution environment integration details for SSO-enabled applications. Agents consume Gateway identity services.
Partner application (SP): SSO-enabled web application, also known as Service Provider, that relies on the SSO Agent and Gateway components for providing the Single Sign-On experience to users.

Friday, February 4, 2011

Salesforce's Force.com SaaS Platform

We all might be aware of Salesforce.com because of its CRM. The global market leader in Cloud Computing is leaving its mark in the industry by providing powerful tools to internet users. One such platform salesforce.com is providing is Force.com. It is based on the same MVC(Model-View-Controller) paradigm as in Java based WebApps. It is basically a PaaS (Platform as a Service) company making huge efforts to hold its position in the cloud league.Force.com is the place where you can develop cloud application that will reside on the salesforce' data-centers. They want all of developers to concentrate on business logic to be implemented rather than the maintenance and administration of resources leveraged.

A Force.com application basically comprises of set of tabs, visualforce pages, workflows, approval processes, triggers and controllers containing business logic. We can develop Application in two ways: Declarative and Programmatic approach. In declerative we develop Apps with clicks whereas in programmatic we code everything. Best of the Apps will include mixture of both approaches.

Considering each component under MVC approach, First is Model. Model is basically abstraction layer between actual salesforce's databases and controllers(business logic). Model is composed of set of objects(Salesforce paradigm). You will have set of standard objects, which will be required for any enterprise App. You can create web pages known as VisualForce pages which are rendered as HTML on server for each HTTP request. Pages. Visualforce pages are  developed using Apex page tags. These are similar to HTML tags but with some special attributes and new element library specific to Force.com. Business logic for Apps is written in a controller. A controller is basically a class which controls the functionality of the page associated with it. The controller code is written in Apex language. It is a force.com specific cloud app development language. Controller has got instance variable, constructors, methods similar to that we do in Java. These methods and variables are bind to page controllers using merge fields. Suppose there is a instance variable "UserName" we will bind it to the page component like: <apex:outputField value='{!<objectName>.UserName}'/>

For more details on Force.com :

Thursday, February 3, 2011

My First Blackberry Application using Blackberry JDE

It is always fascinating to work with gadgets that can change the future. I started working on it as a part of my project. Research in Motion provides Blackberry Java Development Environment(JDE) to develop Apps for Blackberry device.JDE provides set of libraries spanning from basic data structres to device UI components. Its similar to that working on Eclipse or .Net framework. But the disliking part about this is "Debugging" the App take lots of time depending on how much of your RAM is fragmented. If it is highly fragmented address space then your debugging process might take several minutes.

BlackBerry App for Spandan Social Network
You can update status, view live feeds, view photos,etc using this BlackBerry App
There are two ways you can see how the code you wrote works:
(1) Build the application, do not debug the app. Launch the Blackberry simulator. Then load the Java program (*.cod) file into it. And finally run it!
(2)Debug the application. But this process is slow as the JDE first launches the MDS(Mobile data service) server then the BB Simulator and finally loads the java program(your .cod file)

A common problem you'll be facing when giong by 2nd step is that most of the time java programs(*.cod) are not loaded. The reason behind this is the simulator is not erasing the simulation file which is used by the Java virtual machine while running the simulator. So it is recommended to manually erase the simulation file every time before debugging the app. 

Wednesday, February 2, 2011

My first 3D Game development experience with Blender Game Engine

From my childhood I was so much addicted to games that I used to bunk my school ;D...Even today i spent hours playing games! I came across an open source game development App, Blender Game Engine. It provides an easy to use IDE where you can develop your game.

My Racing game:bird's view
we can develop games in two ways. one is Zero code development where you just need to create set of sensors, controllers, actuators and associate them with objects. Other is the one where you can link the action in the form of code written as Python script. I have been working on this game along with a first person shooting game with different maps. Such Apps allow you to put down the game you were dreaming..

Fresh Beginning..!

Finally I am on Blogger to share my experiences with life....people....technology and much more.. :)