SAI BLOSSOMS

Thursday, September 16, 2010

Dynamic Authorization
1. http://forum.springsource.org/showthread.php?t=10185
2. http://www.javaworld.com/javaworld/jw-10-2007/jw-10-acegi2.html?page=6
3.http://stuffjava.blogspot.com/2008/07/acegi-security-in-one-hour-concise.html 
4.http://springtips.blogspot.com/2007/09/dynamic-roles-management-in-acegi.html
5.http://code.google.com/p/dynamic-rule-security/wiki/Documentation
6.http://stackoverflow.com/questions/2370200/how-to-load-roles-from-database-for-anonymous-user-in-spring-security-3
7.http://jnassef.blogspot.com/2007/08/dynamic-roles-management-in-acegi.html 
8.http://www.rubybest.com/28266-spring-security-dynamic-roles.html 
9.http://jroller.com/RickHigh/entry/using_spring_aop_and_hibernate

JMS tomcat spring
http://forum.springsource.org/showthread.php?t=34188
http://forum.springsource.org/showthread.php?t=21978
http://forums.mulesoft.org/thread.jspa?threadID=2414 

Mule Quartz
http://www.mulesoft.org/documentation/display/MULE2USER/Quartz+Transport
http://mule.1045714.n5.nabble.com/Sample-configuration-for-Quartz-Custom-Job-td2674029.html
http://www.jarvana.com/jarvana/view/mule/mule/1.3.2/mule-1.3.2-website-docs.distribution-zip!/MULE/Quartz%20Provider.html
http://raftaman.net/?tag=log4j
http://wiki.opensymphony.com/display/QRTZ1/CronTriggers+Tutorial
http://donhenton.com/wiki/tiki-index.php?page=Mule+Quartz+Config+Snippets

http://rscreeney.wordpress.com/ 
JCraft 

http://www.jcraft.com/jsch/index.html 
BankApp



From,
 Purushothaman T
#56, 1st Cross,
Raja Rajeshwari Layout,
Vijinapura
Bangalore.

To,
The Deputy General Manager
National Co-operative Bank Ltd
Bangalore.

Subject: Reconsideration letter to waive off interest on personal loans as surety under OTS scheme for
                 reference loan Accounts no’s: LPD 22/02 and LPD 53/03

Dear Sir,

                I Purushothaman T, being a National Co-operative Bank’s customer for more than 20 years have great respect to the service offered by the bank. I along with R.Lakshmipathy and M.Subramani, employees of Indian Telephone Industries Ltd.(ITI Ltd)  owned a personal loan of Rs 50,000/- with mutual surety amongst us. Due to company’s non-performance I took up voluntary retirement in the year 2002 which reduced my contact with R.Lakshmipathy and M.Subramani who were still in service. I continued to repay my loan installments assuming that my collaterals too are repaying there installments through salary until I was notified from bank of their irregular payments late in 2007,by then the two were not in service and moved to new address.

 As a responsible surety I have been taking steps to find out R.Lakshmipathy and M.Subramani to seek repayment of their loan amount, who are alive and absconding. I would like to remind that I found R.Lakshmipathy’s new address once and informed bank authority, who spoke to bank manager and promised balance settlement in a week through phone but unfortunately he got absconded over night. I would also like to bring to your notice that R.Lakshmipathy is earning his monthly pension through syndicate bank. All I could say is they have exploited my innocence and put me in the trap.

 In this struggle my wife was affected by paranoid psychosis and was hospitalized by such an incident, who is currently in medication. literally I have lost peace and harmony with in my family. As an unemployed senior citizen I expect peace and harmony to lead rest of my life. My humble request to reconsider my application to waive off interest on loans as surety under OTS scheme and help me pay the outstanding loan principle alone, so that I can maintain sufficient working capital to meet my day to day expenditures.


From,
            Purushothaman T
            No: 56, 1st Cross,
R.R.Layout, Vijinapura
            Bangalore -16.


To,
            The Deputy General Manager
            National Co-operative Bank Limited,
            Bangalore.


Subject: Reconsideration letter to Waive off  interest on loans as surety under OTS scheme.
  Ref: Loan Account No’s - LPD 22/02, LPD 53/03


Dear Sir,
                        I Mr.T.Purushothaman, being a National Co-operative Bank’s customer for more than 20 years, have great respect to the service offered by the bank. I along with R.Lakshmipathy and M.Subramani being employees of ITI Limited was fortunate to own a personal loan of Rs[50,000/-] with mutual surety amongst us. Due to company’s non-performance I took up voluntary retirement in the year 2002 and lost contact with R.Lakshmipathy and M.Subramani and continued to repay my loan installments assuming that the other’s too are repaying there loan installments until I was notified from bank authority that they have stopped to repay. As a responsible surety I have been taking steps to find out R.Lakshmipathy and M.Subramani to seek repayment of their loan amount, who are alive and absconding. I would like to remind that I found R.Lakshmipathy once and informed bank authority, but unfortunately he got absconded. Since both of my sureties are absconding I have been held responsible for the loans held by them. As an unemployed senior citizen it’s a challenging task to be held responsible for two sureties. In this struggle my wife was affected by paranoid psychosis and was hospitalized by such an incident, literally I have lost peace and harmony with in my family. I being an unemployed senior citizen have great responsibility on my shoulders to look after my family and I expect peace and harmony to lead rest of my life. My humble request to reconsider my application to waive off interest on loans as surety under OTS scheme and help me pay the loan principle alone.


QBank
1. Singletons are stateless and Prototype are statefull
2. DispatcherServlet configures in web.xml
3. DispatcherServlet extends HttpServlet
4. DispatcherServlet dispatches req to controller via HandlerAdapter
5. beanNameURLMapping vs simpleURLHaldlerMapping
6. Spring +struts integration - Extends Spring's action support Or contxtLoaderPlugin
7. setter DI
8. Spring ORM package for object Relation mapping
9. Sping EJB 3 Aannotation support - Pitchfork
10.If you use Criteria Quires in Hibernate then hibernate automatically tuned your query
11, To persist a detached Object
 12. <hibernate-mapping>
13. -
<class name="" table="" >all in small case
14. one-to-many unidirectionl mapping ex
15. Inheretence strategies
 16. One table per class key  
<subclass>
17. add(Restrictions).addRestriction.or() - compiletime /runtime error
18.Restriction.between
19.Use of UserTransaction
20. Role of TranactionManager
21.Every top-level transaction is associated with transaction object
22. Transaction object usage.
23.is Transaction Manager X/Open specification - fale
24.Never Attribute throws RemoteException
25. Regarding JTS
26.Aplication Security to be included in all SDLC
27.Threat
28.A security tested must deal with larget testspace that func tester
29 .SeuTest should concentrate on critical reqireme and which are comm used
30. security testing does not support a ty[ical customerzed model for releasing a software
31. SQL INjection = Malacious user can tamper dynamic sql queries
32. Automated Testing Advantages
33,Securiyt Testing Process - PreRequisite
34.benefits of black box esting / limitaio of security testing
35. Performace Testing is subset of Perfor Engineering
36.Endurence Test
37.Simulate 5000 Vusers
38, Durable vs non Durable Example
39.Auto Acknowledge
40. Meesage Selector is of type String
 


HibernateClob handling
1.http://closerlooksplus.blogspot.com/2007/08/use-clobs-in-hibernate.html
2.http://www.coderanch.com/t/216789/ORM/java/help-reading-CLOB-column
3.http://stackoverflow.com/questions/4924536/read-a-clob-from-oracle-using-hibernate
4.http://www.kodejava.org/examples/282.html
5.https://forum.hibernate.org/viewtopic.php?t=935274&highlight=multiple
6.https://forum.hibernate.org/viewtopic.php?t=924665&highlight=oracle+blob
7.http://viralpatel.net/blogs/2011/01/tutorial-save-get-blob-object-spring-3-mvc-hibernate.html

 SpringHibernate
1. http://www.shoesobjects.com/blog/2004/11/21/1101083542880.html 
2. http://www.zabada.com/tutorials/spring-and-hibernate-integration.php
3. http://www.ibm.com/developerworks/web/library/wa-spring2/
4. http://www.java2s.com/Code/Java/Hibernate/SpringHibernateTemplateExecute.htm 

SpringException
1. http://www.java2s.com/Code/Java/Hibernate/SpringHibernateTemplateSaveOrUpdate.htm
2. http://forum.springsource.org/showthread.php?t=64932
3. http://forum.springframework.org/showthread.php?t=63549 
  
iBatis reference
1. http://numberformat.wordpress.com/2009/10/27/ibatis-2-3-spring-2-5-hello-world/
2. http://www.cforcoding.com/2009/06/spring-and-ibatis-tutorial.html
3. http://www.javabeat.net/articles/52-spring-ibatis-integration-1.html
4. http://www.developersbook.com/ibatis/iBatis-tutorials/iBatis-tutorials-3.php
5. http://www.tutorialspoint.com/ibatis/ibatis_vs_hibernate.htm 


Axis2 security.
1. http://www.ibm.com/developerworks/webservices/tutorials/ws-understand-web-services5/index.html
2. http://www.ibm.com/developerworks/webservices/tutorials/ws-understand-web-services4/index.html 
WordPress ref
1.  http://www.gnc-web-creations.com/wordpress-installation.htm
2. http://www.shoutmeloud.com/step-by-step-guide-to-install-self-hosted-wordpress-blog-on-dreamhost-hosting-service.html
3. http://www.blogtechnika.com/how-to-install-wordpress-step-by-step-guide-of-wordpress-installation
4. http://richardmuscat.wordpress.com/2009/03/25/using-wordpress-as-a-cms-step-by-step-tutorial/
5. http://www.blogtechnika.com/blogtechnika-completed-1000-comments-achievements-and-goals 
StoredProcedure suppot from spring_hibernate
1. http://u2d.com/ 
2. http://www.developersbook.com/hibernate/interview-questions/hibernate-interview-questions-faqs-2.php 
3. http://forum.springframework.org/showthread.php?t=19472 
4. http://www.coderanch.com/t/217870/ORM/java/hibernate-PL-SQL 

nextval1 = (Object) getHibernateTemplate().execute(
new HibernateCallback() {
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
String sql1 = "select sysdate as system_datetime from dual";
SQLQuery sq1 = session.createSQLQuery(sql1);
sq1.addScalar("system_datetime", Hibernate.TIMESTAMP);
return sq1.uniqueResult();
}
});
if (employee.getName().equalsIgnoreCase("Insert")) {
nextval = (Object) getHibernateTemplate().execute(
new HibernateCallback() {
public Object doInHibernate(Session session)
throws HibernateException, SQLException {
String sql = "select EMPLOYEE_ID.nextval as empseq from dual";
SQLQuery sq = session.createSQLQuery(sql);
sq.addScalar("empseq",Hibernate.INTEGER);
return sq.uniqueResult();
}
});
if(null!=nextval){
employee.setCreatedDate((java.util.Date) nextval1);
employee.setId(Integer.valueOf(nextval.toString()));
}
}else if(employee.getName().equalsIgnoreCase("Update")){
if(null!=nextval1){
employee.setUpdatedDate((java.util.Date) nextval1);
}
}
 



http://www.hibernate-examples.com/2009/12/one-to-one-association-using-primary.html 

Hibernate update approach

use of mule registry using debugId to store reqXML.
modify the MQWrapper and BaseException to hold reqXML 

CXF

http://fixunix.com/websphere/535303-websphere-6-1-wsdl4j.html

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=267654 

Links

public void saveOrUpdate(final Employee employee){
HibernateCallback callback = new HibernateCallback() {
public Object doInHibernate(Session session)
throws HibernateException,SQLException {
session.saveOrUpdate(employee);
return null;
}
};
hibernateTemplate.execute(callback);
}
 


class UseringSaveOrUpdateEventListener extends DefaultSaveOrUpdateEventListener
{
public void onSaveOrUpdate(SaveOrUpdateEvent event)
throws HibernateException {
if( event.getObject() instanceof Employee ) {
Employee emp = (Employee)event.getObject();
System.out.println("Preparing to save or update user " + emp.getId());
if( emp.getId()==1) {
System.out.println("setting creatd date.");
emp.setCreatedDate(new Date());
//return null;
}else if(emp.getId()==2){
System.out.println("setting updated date.");
emp.setUpdatedDate(new Date());
// return null;
}
}
super.onSaveOrUpdate(event);
}
}
 




  property name="eventListeners"
  map
  entry key="save-update"
  bean class="org.hibernar.business.UseringSaveOrUpdateEventListener"
  entry
 map
  property






 

http://notatube.blogspot.com/2010/03/hibernate-using-event-listener-to-set.html 

Hibernate - http://www.javabeat.net/articles/42-integrating-spring-framework-with-hibernate-orm-framewo-1.html
http://www.vaannila.com/spring/spring-hibernate-integration-1.html

http://www.hibernar.org/articulos_en/spring_hibernate_example.php 

http://www.roseindia.net/hibernate/index.shtml 

Axis1 and Axis2 coexistence - http://www.thatsjava.com/java-web-servers/263607/

http://web.archiveorange.com/archive/v/XzGGBqwgzzwhw6Ck6YGU 

Software Engineering Management
  • SDLC - Requirement & Analysis, Design, Development, Testing, Deployment and Maintenence
  • Design Patterns - Solution to frequently occuring Problems - there are 23 design patterns in Java categorised based on Creational, Structural and Behavioual Patterns.
  •  UML - Unified Modelling Language - Static or Structural Dig Vs Dynamic or Behavioral Diag.
  •  HLD vs LLD
  • Development - Java- type,lang,serializable,transient,encapsulation,polimorphism, XML - DOM vs SAX parser ,SOAP - WSDL,ESB, JDBC - ACID,JAXB,.
  • Testing - Unit,Integration,Acceptence,Performance Tests.
  • Deployment - Dev,CIT,SIT,QA,Pre-Prod, Prod.
  • Maintenance - AXIS. 

Monday, March 01, 2010

http://blog.inflinx.com/2009/02/26/spring-ehcache-integration/
https://jira.springframework.org/browse/SPR-4751?focusedCommentId=35140&page=com.atlassian.jira.plugin.system.issuetabpanels%253Acomment-tabpanel
http://lousycoder.com/blog/index.php?/archives/17-Configuring-EhCache-with-Spring.html

=========================================================================
http://www.download-free-pdf.com/ibm-rational-application-developer-certification.pdf

http://www.filecrop.com/IBM-000-136-dumps.html

http://www.exambible.com/000-136-exam/

http://www.dumpsquestions.com/dumps/000-255.html?answer=35

 http://www.mulesoft.org/jira/browse/MULE-3851

http://old.nabble.com/Http-Authorisation-Header-is-being-lost-td28892253.html

http://www.mulesoft.org/jira/browse/MULE-2799

http://www.mulesoft.org/jira/browse/MULE-1748

http://osdir.com/ml/java.mule.user/2005-11/msg00204.html


<%String contextPath = request.getContextPath();%>
<%=contextPath%>



TIME IN GMT/UTC

function goforit() {
if (document.all || document.getElementById)
setInterval("getthedate()", 10)

if (!document.all && !document.getElementById)
getthedate()
}

function getthedate() {
var mydate = new Date()
var cdate= mydate.toUTCString();

if (document.all)
document.all.clock.innerHTML = cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML = cdate
else
document.write(cdate)
}


 JQuery
prettyPhoto
If all the previous options are not enough, you can always open your content inside an iframe.

To do so, simply:
Create a link
Add the rel attribute "prettyPhoto" to it (rel="prettyPhoto").
Change the href of your link so it points to the webpage you want to open.
Then add "?iframe=true" as a parameters in your HREF so prettyPhoto knows to open the content in an iframe.
Then add the width and height as parameters in your HREF (&width=100&height=100). Please note that the dimensions can be percent based.

================================================================================================

Bank of America's AAServices is an Middleware Application built/aimed/whose goal is to help the/support/provide service to
various client applications which primarily focus to provide various Automated Account Services to
Bank's Treasury Service Customers.


The benefits of having a loosely-coupled, language-neutral, platform-independent way of
linking applications within organizations, across enterprises, and across the Internet
are becoming more evident as Web services and ESBs are used in pilot programs and in wide-scale
production.

AAServices Architecture.

Consider an example where we have a client application communicating with a middle-tier Web application.
The middle-tier Web application,being Web services-aware, expects to obtain a security token
from the client application.

In this scenario,the client application accesses the middle-tier application with the required
security token and is redirected to associated component for Authentication and Authorizaton.
Once authenticated and authorized, the application proceeds to process the requests,by talking
to various downstream systems and the results returned are formated and returned to the client application.

The AAServices Middleware implements a strategy for addressing security
within a Web service environment.It Incorporates a webservice security model
in a way that enables a variety of systems to securely interoperate in a platform- and
language-neutral manner.

illustration of authentication and autorization

Mule component description

The various APIs of middle-tier are either synchronous or Asymchronous.The illustraton below shows
the mule's Symchronoud and Asynchronous flows.

The over all architecture of AAServices MIddleware is shown below with client, server and backend sytems.



================================================================================================

Consider an example where we have a Web client communicating with a middle-tier Web application.
The middle-tier Web application,which is Web services-aware, wants to obtain a security token
for the Web client.

To enable this scenario, the Web client's browser accesses the middle-tier application and is redirected to
an associated identity service. Once authenticated (for example using a HTML form and https), the request
is redirected back to the middle-tier application. The identity service provides a security token (asserting
the identity and the delegations) to the original middle-tier application Web server (for example using a
query string sent via HTTPS). The Web server can now use these security tokens and issue requests from
its own identity to the Web service. The Web service processes the requests, and returns the results to the
Web server, where the results are formatted and returned to the browser.

The various webservices exposed by middle tier are secured

The AAServices Middleware implements a strategy for addressing security
within a Web service environment.It Incorporates a webservice security model
in a way that enables a variety of systems to securely interoperate in a platform- and
language-neutral manner.


History

AAS Middleware was a web application built on struts 1.x framework.The applications
primary objective was to process requests for various automated account serviecs offered by diferent down stream
systems namely STRATA,UUM,GSS,VISTA etc to the GVP application.This application primarily used
servlets to expose/publish the various API's/services offered to clients.This applicaton used
java based document object model to process the requests from GVP application.


Today

AAS Middleware today is a web application built on mule 2.2.1 fraework, an light weight ESB.The various
API's / services offered are exposed as webservices.The application has grown to provide support for more
services to applications using it.
To get an overview of how the system works please click here

future

AAS M has great potential to grow as a system to provide even more serices to applications using it
with little or minimum configuration.

Why Mule?


> @RunWith(SpringJUnit4ClassRunner.class)
> @ContextConfiguration(locations={"file:src/test/resources/META-INF/applicationContext.xml"})

Google Search = http://java.dzone.com/tips/pathway-acegi-spring-security-
Google Search = http://old.nabble.com/-MULE-2.2--Acegi-to-Spring-Security-Migration-td22180242.html
Google Search = com.pentaho.security.jdbc.JdbcUserRoleListService
http://www.opendocs.net/javadoc/pentaho/bi-platform/com/pentaho/security/jdbc/package-frame.html
http://forums.pentaho.org/showthread.php?t=54965

Tuesday, December 29, 2009


Labels:

I feel esteemed to be part of India’s most admired Company - Infosys since Jun 2007. I take this opportunity to thank everyone who helped me reach here.

I am simple to look, fun loving by heart and permissive in nature. I take pleasure in travelling places with my friends when occasion knocks. Drawing, collecting stamps and lately blogging are some of my hobbies. Cricket has been my favorite game and be aware I am a good all-rounder too. I love Indian dishes, especially of my mom’s recipe.

One thing would you like to be best in the world at?
I would like to be one of the best in understanding others mind, so that I can help them when in need.

My heart full wishes to Infosys for its various conscious initiatives to protect the earth. I feel lucky to be born in India, which is fast emerging to be a super power. Friends lets hold our hands together to reach this goal and make our company and country proud.

The mind is responsible for both bondage and liberation of man. Master the mind and be Mastermind

Monday, December 28, 2009

I've been part of Infosys, MCity since July 2007 and a part of BCM account for almost 2 years.



I am normally quiet a reserved guy. But with people close to me its very much the opposite. I love playing pranks on them and pulling their legs.



I am passionate about Formula1 and for that matter any sort of motor racing. I’m a big fan of our railways and have managed to bribe my way into driving a couple of locomotives for a short distance at railway yards :)


One thing would you like to be best in the world at?
It might sound clichéd but, I would like to be one of the best at whatever I do.

Labels:

Wednesday, November 18, 2009

open source initiative

About the Open Source Initiative

The Open Source Initiative (OSI) is a California public benefit corporation, with 501(c)3 tax-exempt status, founded in 1998.

 

Tuesday, November 17, 2009

html multiple select link - http://forum.weborum.com/lofiversion/index.php/t2454.html

search - limit the html select options







Monday, September 21, 2009

http://www.nabble.com/HTTPS-in-Mule-2.1-td19975761.html
http://www.nabble.com/How-does-one-pass-keystore-properties-to-the-jms-connector--td21149658.html
http://www.mulesoft.org/display/MULE2USER/HTTPS+Transport

http://markmail.org/message/7i6jw3bbahxxgbjc

Labels: