Java | How to Create Entities from existing database in eclipse (ubuntu)

| By Webner

Follow steps below to generate JPA Entity classes automatically in Eclipse: Step 1: Create a simple java project and convert it to JPA Project using following steps: 1.1.  Right Click on your Project. 1.2.  Select Configure option from the menu.

Salesforce | [message:protected] => INVALID_LOGIN: Invalid username, password, security token; or user locked out

| By Webner

While upserting records using SFDC php API we were facing following exception : [message:protected] => INVALID_LOGIN: Invalid username, password, security token; or user locked out. This exception was showing up frequently when we were upserting records using PHP API. The

Linux | Multi Factor Authentication (MFA) without password

| By Webner

When implementing Multi Factor Authentication (MFA) for linux server with ssh-key and google-authenticator only with no password it was prompting us to enter password for user but we wanted authentication without password. Steps to solve this: 1.  Install google authenticator

Java | What is the default location for maven repository and how we can modify it

| By Webner

To print maven default configurations, run following command: Command: mvn -X This will show you maven default configurations similar to following: Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_79, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-i386/jre Default locale: en_IN, platform

PHP | How to call SOAP based web services from php

| By Webner

We were working on codeigniter website project. We had wsdl web services available to access our backend functionality. We had configured a WSDL Client in our php code but it was not working. Sample Code: try { $testSoapClient = new

Secure Apache Webserver

| By Webner

By default Apache web server does not come with all the securities enabled. We have to enable enhanced securities before making it live & accessible to the outside world. Remove Server Version Banner : Modify httpd.conf and add following directives

Eclipse – Java decompiler (jd-eclipse)

| By Webner

If you are working with eclipse IDE, it provides many plugins and one of them is java decompiler. This plugin will decompile all your class files to give you Java source code. JD-Eclipse is a plug-in for the Eclipse platform.