Posts

Showing posts from March, 2016

Why Java!?

Java is an Object Oriented Programming Language. This means that everything in Java is an Object, whose template is given by the Class. Object Oriented Programming Features in Java: 1. Encapsulation Keep variables private and methods public ie just capsule all the data in java 2. Polymorphism Showing many forms. In java this is achieved by overriding and overloading 3. Abstraction Hide the complex implementation hidden from the user and show only the required information 4. Inheritance In java inheritance can be achieved by either extending a class or implementing an interface Features of Java Purely OOPs based Simple to learn Robust - Exception handling and Garbage collection make life easy for a Java Developer Secure - No pointers and high security as it doesnot allow a web applet to read and write from to a file easily High Performance Multi-threading Platform independent and Architecture neutral - java is compile once and run anywhere

Restarting Oracle DB amd OEM

Ever wanted to restart your oracle database instance? Here are some basic steps that will help you restart your oracle db on linux. Firstly, login to your database as oracle You can keep a check on ora processes like this - > ps - ef | grep ora Check that ORACLE_HOME, ORACLE_SID is properly set. Login as sysdba using sqlplus sqlplus / as sysdba >shutdown abort; This will abort all the running processes and immediately shutdown your oracle db. Once this is done, >startup; This will start and mount your db and your db is ready to use. In case your listener is down, start it using the following commands: Set the proper ORACLE_SID. lsnrctl start Db is ready to use. Starting and stopping OEM There is a very powerful oracle monitoring tool called the oracle enterprise manager. I totally love using it. It gives entire performance matrix of your db and also make oracle administration easy. Use it to believe its power. Start emctl. Useful command

My Book-et list

This is a list of books i want to read before I die ;) . I will also mention books i am currently reading and books which have i have loved. If you come across this list and know some really great worth - reading books, please mention in the comments below. Thanks already!!! :D Books i want to read: Autobiography of Napolean Hill Ramayana The Hobits Ignited minds Mein Kampf Shantaram I want to read any travelogue(please suggest)  ... Will keep adding to this list. Books I have read and loved: To kill a mocking bird :  This book is a must read for everyone if you have already not read it. This is one of the only two books by Harper Lee. (PS. Can be an excellent gift for anyone)  Wings of fire :  A beautiful book. Its about struggle and endurance to achieve your goal. It is about the efforts and vision of a great visionary - A P J Abdul Kalma The Lord of the Rings :  Masterpiece by J R R Tolkien. I have heard a lot about his other work and do plan on reading them. Y