Mobile Application development: part 1 : Andriod Vs IOS

Andriod basics:

Links Mime type:
All Mime types:

From Myanmar(Burma) to Punjab (india): Life of my mother

Father of My Mother (Nanaji) born in Punjab but was working for many years in Burma Myanmar (Rangon now called Yangon). And My Nani ji was born in small village between Now J&K and Punjab.
Myanmar To Jalandhar 4,000 Kms & two  countries
When india was separated from Burma in 1931 My nanji shifted his residence to India from Myanmar in 1940’s. First stop was at Muzzaffar Nagar, India Where my mother was born.
Life of subhas:
I had no clue What form many years Nanji was in Myanmar And after coming to India named his daughter “subhas”. He was very good accountant, tall well built.
He worked in Muzzaffar Nagar for few years and set up a small unit of ice-creame manufacturing there but it was taken over by some people over a by miscreants dispute Instead fighting Nanaji choose to move to Jalandhar, Punjab and continuing his accountancy practise.
My mother right from childhood very hardworking very fond of music , sports and education.
She was offered a job of librarian in 1960 but she refused due to commitment to home.
Her village between Kashmir valley , punjab, himachal was also hill area away from town.
So people had to work up a lot for daily tasks.
At home my grandfather did not believed in Idol Worship but my mother believe So there was Contradiction to outsider But not to people at home reason being Idol represented The Expression of Art towards God. To many people The idol help to visualize the power , knowledge and Aura of God. You can see the Calmness and Expression of completeness on Every Idol which you see in Sanatam Dharma.
But on contrast Arya samaj never has idol in any of temple since its considered Sin to give a form to unknown God.
The Vedas were also very open to this question and Candidly They have put these questions in form of poetry. (I will write later translation of this)

My mother was very good in creating designs in Sweater from Early age and all creative aspect of sewing based decorations. Infact due Excessive focus on minute sewing she had big lens in the Spectacle.
Right from childhood when we are back at home She would put us on English dictations for many words. For Us it was additional home work daily at home and then tables of multiplications and readings.
She won many small music competition at school. Even long back planned a knitting training institute at my hometown.
(Continued next Time)

Architecture sap hana vs oracle exadata competitive analysis part -2

READ part 1:
This debate of SAP Vs Oracle or last 2 yrs buzz SAP HANA vs Oracle Exalytics
Every year in Enterprise Software space Competition of SAP Vs Oracle Hots up with new announcements and New technology comparisons of SAP new Tech Vs Oracle New Tech.
The Enterprise Software stack built up by No.1 and No.2  world’s top most valued companies in Enterprise Technology Space.
So SAP Vs Oracle comparison will never go out of picture only every year it will up the ante. 
In Memory Technology: SAP Vs Oracle (New tech now 2 yrs old).

Now a day In-Memory Technology is the Hottest area especially in Business Intelligence (BI). But its not limited to BI it goes into ERP, Application development of any Kind.
The processing infrastructure in form of in Memory Systems is much faster than any other form. As Cost of RAM is coming down and capacity of server is expanding So most data to be processed can be pulled inside memory at once instead of using Locality of reference to pull and process from secondary memory.
Also Server can hold lot more data to processed in memory at once.
SAP HANA Vs Oracle Exadata
So SAP Came with SAP HANA and Oracle has its own in memory systems. At same time Oracle released high performance machine Exadata which brook many performance records. So There was running comparisons of SAP Vs Oracle in Enterprise Technology space.
innovation at SAP : ABAP, BSP and BAPI 
SAP customized by using  Advanced Business Application Programming (ABAP) Language.
Using which reports are customized, forms are modified, business processes are written to reflect business Logic. ILE, BAPI, IDOC can be used to interface with external software or integration or developing Adaptor. Custom Exits and User Exits are written to customize forms and reports.
For SAP datawarehouse technology SAP BIW or SAP BI datawarehouse is created using
Extraction Legacy System Migration Workbench (LSMW) or Cost and profitability Analysis (COPA) Extrations then transformation can be applied using ABAP user exits.
Problem with ABAP is compared to mordern langauges it has not evolved much over time.
Most of ABAP constructs are similar to COBOL constructs. There is Object oriented ABAP also like JSP or ASP  it came up with BSP (Business Server Pages) to Expose ABAP code directly to Web like JSP does for Java or ASP does for Microsoft Technology.

SAP Netweaver  Vs SAP ABAP BSP
SAP began adopting Java in 2003 and came up with Netweaver product which was J2EE server for ABAP code. Now you can code using either java or ABAP in netweaver. For Application requiring functionality to exposed to Web Java was natural choice.
But Oracle having acquired Java in year 2010 Since then there was continuous Effort on part of SAP to move away from its dependence of Java.  So BSP came into picture as first step.
Benefits of In-memory in SAP HANA
next was paradigm shift using Columar database instead of Row oriented databases which consumed less storage (on account of reduction in repetitions of similar column values as well compression of data).
Also it integrates:
BI and datawarehousing system or OLAP with
Operational systems or OLTP Systems as one.
Even Analytic requiring lowest level of granularity can be queried on same server.
Effect of which was Whole data can be pulled and kept in In-memory system offering faster response time to multiple user connected at same time rather than
Regular database Query processing logic
parsing request , making parse tree,
comparing with already fetched query parse tree in cache
if not available
fetching data from secondary memory
when depending on the request into

Improvement in data processing in SAP HANA and column oriented database
Now since whole data can be kept in-memory So Every query can directly fetch data quicker.
Future Technology Like SAP HANA
Enhancement over this Technology are Probabilistic databases and Graph databases.
Graph databases are available commercially since long time.
Index free storage. Every element has direct pointer to adjacent element, hence no lookup needed.
Here is list:
Probabilistic databases : Are active area of research as discussed above as well.

A day in life of Peoplesoft Functional Consultant part 1

Depending on ERP there can be many modules inside..
Major modules of peoplesoft ERP are :
1. Human Resource Management Systems HRMS
Submodules: (payroll, Core HR, benefits, recruitment, performance management)
2. Financials
(Account payable AP, Account Receivable AR, General Ledger GL etc..)
3. Supply chain Management SCM
4. Customer Relationship Management CRM

Functional consultant major work is during GAP Analysis To find As-IS state and identify work required to achieve TO-BE state.
Find all those forms which needs to be modified, and all those reports which needs to be modified And Exactly what field to change, What button to remove, What functionality to be disabled, What pre-delivered business logic behind components to be modified and What formulae to be used during modification.
There is Another Module which is consider Techno-functional Peopesoft EPM. EPM is datawarehouse part which has four major components for Each of four above there is a data mart for each area of finance, HR, SCM, CRM.
Each contains data from its own module transferred using ETL tools and reporting using BI Tools and analytics can be applied over formulae in BI systems.
-Also functional consultant decide based on feedback from local management to modify field like in HRMS a rejoining of employee should get ID as previous from old record or new ID based of policy in management.
if Payroll of local market like irish payroll or indian payroll does not exits then it should existing global payroll should be modified to achieve local labour laws and saving rules , income tax based customisation.

A day in life of peoplesoft Technical Consultant part 1

There are 5 major streams for Peoplesoft technical consultant
1. Reporting Tool:  Hyperion SQR, nvision, Crystal,
2. Server Tool: peopesoft internet Architecture, Tuxedo, JOLT, Webserver, Appserver
3. Application development: peoplecode, application designer, App Engine, PS integration Broker,
4. Installation and Upgrade : Upgrade Assistant,
5. Peoplesoft DBA: all issues related to Database on top of which peoplesoft ERP is sitting.

Depending of Each of these streams The a day in life of Peoplesoft technical consultant will differ.
Life cycle of Peoplesoft implementation from :
4 major areas:
1. GAP Analysis,
2. implementation,
3. stabilization phase of ERP ,
4. and support for already developed

Each phase has its own daily routine Like during support phase
3 major type of request which can come from user is ICE:
Incident, Customization, and Enhancement request.

During gap analysis: The As-IS state is studied and its difference made out from TO-BE state. The Gap between AS-IS and TO-BE state is implementation which needs to done.
As you know peoplesoft is ERP package comes with its pre-delivered tables, forms and reports Which needs customisation depending on company, country , laws of land, company processes.

During implementations phase according to gap analysed forms , reports are customized using peoplecode language and application designer, 9 steps process is applied to each component being developed, which include security settings.
SQR banned reports are being customized with header footer for display and for business logic of processing data fetched from database and displaying in format required using option like BREAK options.

Support Phase ICE request for each change is being accepted for Incident, enhancement and Customisation for Each Change Request raised and Accepted or any errors in existing code.

Java/J2ee Security Best practices

Best practises of Java/J2EE application development
1. Stop Memory Leak errors in by (garbage collection of unused objects, stop dangling references).
e.g String immutable class can lead to memory leak while mutable versions like StringBuffer, StringBuilder can reduce memory leak.

2. NIO Packages can improve performance with features non-blocking Input/output API. NIO packages can by using buffers to hold data, memory mapping of files minimize acess to hard disk, operating system.
3.  Coding to Interface reduce coupling. Low coupling and high cohesion should be goal of applications.
4. Types of inheritance :
Implementation Inheritance: best practise subclasses should only depend on behaviour of super classes and not on actual implementation. As superclasses become tightly coupled with subclasses making design not flexible as to chang superclass all details of subclasses must be known to avoid breaking them.

Interface Inheritance: Program to Interface not implementation as coding to interface reduce coupling. Also inheritance cannot be changed at run time. Object composition requires functionality is acquired dynamically at runtime. Also promotes Open Close principle of OOAD.

5. Design by Contract: Use of Assertion Enforce Input compulsory contracts. message also capture detailed statement for AssertionError

6. Use OOAD principles

  • Open Close Principle:  Open for Extension and Close for modifications Enforce minimum changes in existing code.
  • Dependency Inversion Principle: High level modules contain complex logic hence should not depend on low level module for implementation.
    Order: High level classes –> Abstraction Layer –> low level classes
  • Interface Segregation Principle: client should not implement interfaces not used.
  • Single Responsibility Principle: Every class should have single responsibility (reason to change) reducing complexity.
  • Liskov’s Substitution Principle: Derived Types should be substitutable to base types.

7. For multi threading application When atleast one thread adds or delete into collection use API external Synchronization.
Three Types of collection { Map, Tree, List}
Map mymap1= Collection.sychronizedMap(mymap1); // Lock for Entire Map.
8. Use zero length Collection as opposed to returning Null:
StringBufferOverflow Attack Can be caused due
9 Deep and Shallow copy of objects : To Be continued.
Read more details:
1. Design principle in Real World
2. generalize-problem-solving-through-design-pattern

BI App development using Cognos SDK

Read previous article written before on Topic Link below:
Business Intelligence reports are generally created to un-structured or semi structured business Problems which covers Decision support system DSS, Management support system MIS.
To Know more : Read:

Business Intelligence Reporting solution can develop reports of varying requirements from Nowadays from operation to BI due to pervasive nature of BI to Exit at level of  Transaction processing System TPS at Knowledge level, to Office Automation system OAS at lowest operational level where operational reports about daily status is gerally used from ERP.
MIS Typical hierarchy of Information systems from Decision Support system at top to lowest Office automation system.
Customising Cognos Authentication mechanism for integration is first step see details


How to Customize Cognos to any specific non-existent customisation using SDK. Read

If data is completely unstructured data which cannot be analysed by traditional BI system but requiring Hadoop, Hive , HBase then customisation has to integrate Big data system Read: