Saturday, 4 January 2014

1. What is log4j
    This is a Open Source tool given by Apache, for only java projects, to record or write the status of an application at various places
  • Working with log4j is nothing but working with classes & interfaces given in org.apache.log4j.*
  • Log4j is a common tool, used for small to large scale Java/J2EE projects
  • In Log4j we use log statements rather SOPL statements in the code to know the status of a project while it is executing
  • In real time, after a project is released and it is installed in a client location then we call the location as on-site right, when executing the program at on-site location, if we got any problems occurred then these problems must report to the off showered engineers,  in this time we used to mail these Log files only so that they can check the problems easily

2. What is web application
       A Web application (Web app) is an application program that is stored on a remote server and delivered over the Internet through a browser interface.

3.postgresql vs MySQL
          --  PostgreSQL is more reliable because it is ACID (Atomicity, Consistency, Isolation, and Durability) compliant which means queries will maintain data integrity, and return the same output without error.
         -- MySQL is less reliable and not ACID compliant: The way it handles foreign key references, auditing and transactions make it less reliable. MySQL is good if you are thinking you may use code from other open source projects. Since it is widely used in smaller websites,

       

4. what is SNMP

5.what is SNMP Manager

6.what is snmp agent

7.explain SNMP simulator

8.SNMP Ports are

9. IP in which OSI layer

10.What is Managed Device

11.what is network manager

12.what is MIB

13.what is OID

14.MIB order names



15.What is Socket
                    

Definition: A socket is one end-point of a two-way communication link between two programs running on the network.                - -  When a computer program needs to connect to a local or wide area network such as the Internet, it uses a software component called a socket. The socket opens the network connection for the program, allowing data to be read and written over the network. It is important to note that these sockets are software, not hardware, like a wall socket. So, yes, you have a much greater chance of being shocked by a wall socket than by a networking socket.

16.What is SSL
                 
              - -SSL (Secure Sockets Layer) is a standard security technology for establishing an encrypted link between a server and a client—typically a web server (website) and a browser; or a mail server and a mail client (e.g., Outlook).

SSL allows sensitive information such as credit card numbers, social security numbers, and login credentials to be transmitted securely. Normally, data sent between browsers and web servers is sent in plain text—leaving you vulnerable to eavesdropping. If an attacker is able to intercept all data being sent between a browser and a web server they can see and use that information.
More specifically, SSL is a security protocol. Protocols describe how algorithms should be used; in this case, the SSL protocol determines variables of the encryption for both the link and the data being transmitted.

Short for Secure Sockets Layer, a protocol developed by Netscape for transmitting private documents via the Internet. SSL uses a cryptographic system that uses two keys to encrypt data − a public key known to everyone and a private or secret key known only to the recipient of the message.

https://www.globalsign.eu/ssl-information-center/what-is-ssl.html


17. Object-relational mapping (ORM, O/RM, and O/R mapping)
                              In computer software is a programming technique for converting data between incompatible type systems in object-oriented programming languages.

18.What is hashcode in java?
                             1) when an object is created by JVM, it returns the memory address of the object as a hexadecimal number, which is called object reference or hashcode. When a new object is created, a new reference number is allocated to it.It means every object will have a unique reference.

  --If we want to see the object's hashcode, by using hashCode() method we can see hashcode of object. hashCode() method presents in Object class which is super class for every predefined class and user defined class.

  --For every object JVM will assign a unique value which is nothing but hash code



EX:

class One
{
public static void main(String args[])
{
One o=new One();
System.out.println(o.hashCode());
}
}

Output: 4072869

19. What is Hashing?
            -- Hashing is the transformation of a string of characters into a usually shorter fixed-length value or key that represents the original string.

No comments:

Post a Comment