Thursday, November 6, 2008

Points to Remember while Interacting with friends, colleagues & others.

1) The very first and foremost thing is never Argue! Because argument creates a very bad impression then let it be your friend, colloquies, or any elder person or family member. Just be cool & learn to listen to what the other person has to say even if it is not in your favor & if so then you should know to handle the situation smartly!
2) Have polite vocal quality and should avoid overreaction & over excitements just remember one thing "Be Cool at Your Temperament" & handle the situations.
3) Don't & never let anyone read your mind by looking at your face! But in the process Also Don't forget to be honest with yourself!
4) Always remember the personality difference between yourself & the people whom we interact. We can never accept that opposite person will have same views, thought process, or learning style & learn to respect these differences to have healthy relationships.
5) Learn to be reliable & faithful for opposite person. We should learn to keep things confidential if things need to be or should have a sound understanding of which things we should speak, when & in front of whom.
6) You should know when to accept your own faults. If it is your mistake then admit it irrespective of your ego especially when the opposite person is someone very special like your father or any near one like him.
7) As now to know to admit your own faults you should also know to forgive our near ones, remember we all are humans & humans have normally tendency to commit mistakes but take them positively & also learn to forgive others.
8) Based on above two points regarding accepting & committing the mistakes also learn to point out others mistakes tactfully & telling them in the sense that won’t hurt the opposite person.
9) Be encouraging to opposite person so that opposite person likes to talks with you & share his views & ideas. Never have a passive attitude as nobody likes to interact with people having such personality types.
10) The last but not the least final point is to try implementing the above points & see the results!

Tuesday, February 26, 2008

Struts + Ajax + JDBC Example


Hi Friends,
I would like to Share one of the Example I did before some days after going through many articles & blogs of Adding a flavor of Ajax in Struts Applications & I would like to thank all the writers of the Articles & blogs for the same. I hope even my example would also help many of the new beginners who want to add the magic of Ajax to their Struts Application.
(I assume that people reading this article has a basic knowledge about Struts & Ajax.)
My Example is a Simple Struts + Ajax + JDBC application in which Insertion of records & Displaying of records is done on the same page.
Here to Insert Records or to Display records the submit button is not used but instead it’s a normal HTML button.
The basic purpose here is suppose If we have to make say for e.g. 1000 entry of records at a time then start inserting first record, just reset the fields using reset button & start filling entries for second record & so on… here as Ajax is used the page do not gets refresh each time the record is saved at in the backend & without submitting the page each time the new record is entered & saved. While at the same time Just select the “Customer Id” from the dropdown provided & click the “Show Record” button then the respective record for the selected “Customer Id” will be displayed.
Here I’ve not used any kind of the design patterns just for the sake of simplicity & understanding basic functionality between Struts & Ajax.
The basic Look for the Application is as follows: (Much of the Designing is not been given importance just for the sake of simplicity.)



Just start entering the values for Customer Name, Customer Address & Customer Telephone & On the click of “Save Record” button the following output is seen.
Now comes the viewing of records, For this we need to refresh the page once so that the combo box of “Customer Id” gets populated. Following is the screen short for the same.
To View the record select the “Customer Id” whose record you wish to see & the appropriate Record will be displayed as follows.
The Zip of Code along with the Data base script for the Article can be downloaded from here:
Regards & Best Wishes,
Mayuri Rajani



Best Car pool Android Application Best Car Pool Application Source Code Download Here



Best Social Network Cordova Ionic Application Best Social Networking Source Code Cordova Ioinc Application Download Here


Best Android Application, Android Restaurant System Best Android Restaurant Application Source code download here


Best Android Application Android Chat Source code download Android Chat Source code download


Best Android Quiz Source Code Download Best Android Quiz Source Code Download here

More and Lots of useful Android source codes here Best Android Source codes download here