Skip to main content

Posts

My Clicks

Recent posts

#EclipseShorcuts Top 5 Essential Eclipse Shortcuts for Developers

Eclipse IDE is one of the most considerably used by Java developers. I have been using it for more than a half-decade. There are numerous shortcuts available in eclipse that can help developers speed up the development process.  Below shortcuts is for Windows-based Eclipse IDE 1. Delete Current Line (Ctrl + D) 2. Format Code (Ctrl + Shift + F) 3. Navigate file Previous or Next file through History (Alt + ← or Alt + →) 4. Organize Imports (Ctrl + Shift + O) 5. Autocomplete Recommendation (Ctrl + Space)

How to disable Apache Commons Logging statement in Our Java Application

In recent times, One of the java project applications is started printing apache-commons logs in the application logs. Turns out due to the changes in the migration process. The log4j.xml from the apache-commons is taken into account in the classpath due to that the application logs keep piling up and at some point of time the servers end up with no storage spaces, To disable the Apache commons logs from the Apache commons-logging module. Add the following parameter in the Java args during the server startup. -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog

How to configure Custom Keystore & SSL in Oracle Weblogic 12c with WLST

In this post, we are going to see how to configure Custom keystore and SSL in Weblogic 12c through WLST. Before configuring ensure that your Weblogic server is up and running. Use the below script and run the script through WLST to configure Keystore and SSL ===== SCRIPT STARTS ============ // connect to Weblogic server. alter the ip-address and port as per your server configurations connect('admin', 'admin@123', t3://ip-address:port) edit() startEdit() // We are going to update the Keystore and SSL in AdminServer. Alter as per your needs cd('/Servers/' + 'AdminServer') cmo.setKeyStores('CustomIdentityAndCustomTrust') cmo.setCustomIdentityKeyStoreFileName('/path/to/keystore/jks/file') cmo.setCustomIdentityKeyStorePassPhrase('passphrase') cmo.setCustomIdentityKeyStoreType('JKS') cmo.setCustomTrustKeyStoreFileName('/path/to/keystore/jks/file') cmo.setCustomTrustKeyStorePassPhrase('pa

Day 1 of #AWSLearning

My Clicks

A day at Thirumangalam

Difference b/w JAR,WAR & EAR

A  WAR (Web Archive)  is a module that gets loaded into a  Web container  of a  Java Application Server . A Java Application Server has two containers (runtime environments) - one is a Web container and the other is a EJB container. The  Web container  hosts Web applications based on JSP or the Servlets API - designed specifically for web request handling - so more of a request/response style of distributed computing. A Web container requires the Web module to be packaged as a  WAR file  - that is a special JAR file with a  web.xml  file in the folder WEB-INF . An  EJB container  hosts Enterprise java beans based on the EJB API designed to provide extended business functionality such as declarative transactions, declarative method level security, and multiprotocol support - so more of an RPC style of distributed computing. EJB containers require EJB modules to be packaged as  JAR files  - these have a ejb-jar.xml file in the META-INF folder. Enterprise applications  may con