Archives

Apex Cache Tracker to remove session cache

Here is the problem that needed to be solved: 1. Use session cache to cache some user information like their profile or user settings 2. When a external systems update the information and try to remove the session cache as it got updated it fails because it does not have access to a users session […]

Rate this:

Read More

Apex Check User Session Still Valid

Checking if a user has a valid session before making a query or call else an INVALID_SESSION error will be returned. The value of time remaining for the session can be cached and referenced so this query only runs a few times. Every time a user makes a request we can check the cache and […]

Rate this:

Read More

Salesforce WSC Partner Connection Session Renew when Session Timeout

Implement SessionRenewer Test SessionRenewer

Rate this:

Read More

Types of Java Beans

There are three types of beans in java: 1. Session Beans, it is also sub divide into two forms Stateless Session beans Stateful Session Beans 2. Entity Beans 3. Message Driven Beans or they are also called Message Beans. Now I will explain them one by one: Session Bean is created by a customer and […]

Rate this:

Read More

Creating your first stateless session bean using RAD 7.5 running on WAS 7

Creating my first stateless session bean using Rational Application Developer 7.5 and deployed to Websphere Application Server V7.0.0.7 that shows the current system time. Step 1: Create a new Enterprise Application Project. Step 2: Create a new EJB Project by right clicking on the newly created Enterprise Application Project. Make sure that to add the […]

Rate this:

Read More