300x250 AD TOP

Feature Label Area

Monday, October 12, 2015

Tagged under: , , , ,

Pega 7.x Features comparison with Pega 6.x

Pega has released version 7 in September 2013 and it has a complete new look and feel — paired with improved performance — that enhances both developer and end-user experience.


Key Features:
Stage Based Case Management
Developer friendly Designer Studio [Compared to Version 6.x where designer studio had support only on IE, in Pega 7, designer studio has support from all standard browsers. In Pega 7, there is localized designer studio]
Responsive User Interface [ Pega 7 is fully compliant with HTML5 and CSS3. The user interface is fully responsive. ]
High Availability and Multitennacy
Quantum Leap in Data Management in Pega 7, we have split schema for rules and data. Unlike in Pega 6 that has no support for Open source DB, Pega 7 provides PostgreSQL support. Now you can handle multi source data page]
Enhanced Direct Capture of Objectives(DCO) [In previous versions, there were typically three modules within DCO – the Application profile, Application accelerator and Application Express. In Pega 7, this has been replaced with 4 step Pega profiler that captures the basic profile of the application and further allows stakeholders to design the process in the case designer]

Sunday, September 28, 2014

Tagged under: , , ,

Synchronization


At times when more than one thread try to access a shared resource, we need to ensure that resource will be used by only one thread at a time.
The process by which this is achieved is called synchronization

Why use Synchronization

    To prevent thread interference.

    To prevent consistency problem.




Suppose we have two different threads T1 and T2, T1 starts execution and save certain values in a file temporary.txt which will be used to calculate some result when T1 returns. Meanwhile, T2 starts and before T1 returns, T2 change the values saved by T1 in the file temporary.txt (temporary.txt is the shared resource). Now obviously T1 will return wrong result.

To prevent such problems, synchronization was introduced. With synchronization in above case, once T1 starts using temporary.txt file, this file will be locked (LOCK mode), and no other thread will be able to access or modify it until T1 returns.

Sample method
 public class Counter {
  private int count = 0;
  public synchronized void increment() {
      count++;
  }
  public synchronized int getCount() {
      return count;
  }
}

  •  If you declare any method as synchronized, it is known as synchronized method.
  • Synchronized method is used to lock an object for any shared resource.
  • When a thread invokes a synchronized method, it automatically acquires the lock for that object and releases it when the thread completes.