Saturday, July 22, 2017

How to install maven and create a new blank maven project


Step 1 - Go to maven site and download maven binary zip archive as shown below
https://maven.apache.org/download.cgi



Step 2 - Once you download the file extract it to a particular location and set below Windows environment variables
 
M2_HOME - C:\TestMaven\apache-maven-3.5.0
MAVEN_HOME - C:\TestMaven\apache-maven-3.5.0

PATH - C:\TestMaven\apache-maven-3.5.0\bin

Make sure that JDK is installed and "JAVA_HOME" variable is added in your Windows environment variable

Now test maven using below command

mvn -version

 

Note - You can change the default maven localRepository as per your requirement, just go to apache-maven-3.5.0/conf/settings.xml and change the path

<localRepository>C:/TestMaven/repo</localRepository>

Friday, July 14, 2017

Poor Employers in the Age of Technology

http://www.vantigeinc.com/hs-fs/hub/168341/file-238178968-jpg/bigstock-Helpless-young-business-woman--42586567.jpg?t=1492713388190&width=1349&name=bigstock-Helpless-young-business-woman--42586567.jpg



Every entrepreneur desires to have most skilled, diligent, well-mannered and reliable professionals. This is probably because the employees are the strength of an organization having the power to make or break it. While the motivated, creative and problem-solving employees support employer to flourish the business, the lazy, fickle and unproductive workforce can cause huge loss to the company.

Mostly it is a poor recruitment process that let the losers enter into the organization but sometimes the blame of turning a skillful person into unproductive creature goes to the technology. While the technological advancement has changed the human lifestyle, it has also changed the environment of workplaces. It is hard to imagine an office without computers, the internet, air conditioners and supportive technologies. While all these pieces of machinery have become necessities to work, these are the hindrances as well. So, the chances of employer bearing huge monetary loss or, in worst cases, losing his business are more because of the facilities provided to the employees than just the lack of efforts.

We have rounded up here a few basic facilities provided by the employer to its workforce that reversely cause his own failure.         

Internet – The main distraction that kills productivity

While the internet is a compulsion for online businesses, software houses, and many other businesses, it is full of distraction. Smartphones, social media, and emails are among the major workplace productivity killers. While the employer provides its employee with the internet for work-related tasks, the mischievous guys use the service for updating their Facebook profiles, playing games, and watching YouTube videos. Resultantly, they fail to accomplish their tasks at the time and make the employer bear the loss.

Friday, April 28, 2017

Top 10 Oracle Certifications and How to Earn Them

Oracle Corporation is an international company that offers a variety of software and hardware solutions which are designed to streamline IT. Oracle offers many certifications in the area of Cloud, applications, Enterprise Management, Database, Foundations, Operating Systems, Training and Resources, Virtualization and much more. Over the years, Oracle has developed an extensive certification program. Today, it compromises 5 certification levels, covering 10 main categories and offers over 200 individual credentials.

Now the question arises why you should get Oracle Certifications. Answer is Credibility. Oracle Certifications gets you a competitive edge in comparison to other candidates with similar skills. In this competitive market adding an Oracle certification in your resume will increase the worth of your resume and will makes you more likely to win out over other candidates. Oracle Certifications are among the highest paying IT certifications. Moreover 97% of the Global Fortune 500 companies use Oracle software.  Thus, Oracle certifications make you a more desirable candidate. You can earn an Oracle Certifications by following given steps-

  • Explore the Certifications and select a certification to pursue based on that technology area in which you have interest.
  • Prepare for your certification exam by taking suitable training.
  • Register for your exam.
Given below are details of Oracle to 10 Certifications which you can pursue-

Oracle Database 11g: Administration I

By clearing this exam you gain the certification of Oracle Database 11g Administrator Certified Associate.  The duration of exam is 9o minutes and it consists of 7o multiple choice questions. The price of this exam is US$ 245 and minimum passing score is 66%.

Oracle Database 11g: Administration II

The duration of this exam is 120 minutes and it contains 78 multiple format questions. Minimum passing score in this exam is same as Oracle Database 11g: Administration I, that is, 66%.  By passing this exam you get the certification of Oracle Database 11g: Administration II. The price of this exam is US$ 245. 

Saturday, September 3, 2016

Drag and Drop example in HTML5

HTML5 has made dragging and dropping objects from one place to another very easy.

We will see an example of the HTML5 API’s that can be used to drag and drop objects
  1. How to make the object draggable
    • For making object draggable, we need to first set the draggable attribute of that object to true.
    • Then use the onDragStart method to capture the data that needs to be dragged
  2. How to make the object Droppable
    • We use 3 methods that will be used to define a object is droppable
      • onDrop
      • onDragEnter
      • onDragOver

Please see the sample code

Output



Author -

I am Ketan and have a blog KSCodes that is developed to share some of the common examples that we come across in web development. You can get examples on java tutorials and spring tutorials.

Saturday, March 12, 2016

Have you ever wish to learn about AngularJS framework for java web development?

Though online article directories and blogs of Java web development professionals are feed with distinct stories and articles about different products; still you can consider this post to learn every important fact about AngularJS. The author will explain the framework, its features, architecture, and the steps to build an AngularJS application. Read every point thoroughly to get a clear vision about the framework.

AngularJS is an open source javascript framework for web application. It was originally developed in 2009 by Misko Hevery and Adam Abrons. It can be added to an HTML page with a <script> tag.

Definition of AngularJS:

AngularJS is a structural dynamic web apps framework. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. Angular's data compulsory and dependency injection eliminate much of the code you generally have to write. And it all occurs within the browser, making it an excellent partner with any server technology.

Features of AngularJs:
  • AngularJS is a powerful JavaScript based web development framework which is useful to develop powerful web application.
  • AngularJS provides developers options to write client side application in a clean MVC architecture.
  • Application written in AngularJS is cross-browser compliant. AngularJS automatically handles JavaScript code for each browser.
  • AngularJS is open source, completely free, and used by thousands of developers around the world.

Overall, AngularJS is a framework to build large scale and high performance web application while keeping them as easy-to-maintain.

AngularJs is divided in three major parts which are called ng-directives. Those are listed below.
  1. ng-app - This directive defines and links an AngularJS application to HTML.
  2. ng-model - This directive binds the values of AngularJS application data to HTML input controls.
  3. ng-bind - This directive binds the AngularJS Application data to HTML tags.