Posts

Showing posts from March, 2018

Spring Boot Features In Java

Image
Spring Boot Features Spring Application Web Development Admin features Application events and listeners Externalized Configuration Properties Files YAML Support Type-safe Configuration Security Logging and many more... ⇒ Spring Application           spring application is a class which provides the convenient way to bootstrap a spring application which can be started from main method. You can call start your application just by calling a static run() method. ⇒Web Development         It is well suited Spring module for web application development. We can easily create a self-contained HTTP server using embedded Tomcat, Jetty or Undertow. We can use the spring-boot- starter-web module to start and running applications quickly. ⇒Admin Support      Spring Boot provides the facility to enable admin related features for the application. It is used to access and manage application remotely. We can enable it by simply using sprin

Top 10 Programming Languages Of 2018

Image
Top 10 Programming Languages Of 2018       Welcome to 2018! One more year geared towards tremendous growth in the computing industry, including software developments..   >Most Popular Programming Language 2018 Java Python C C++ Ruby JavaScript C# PHP Objective-C SQL   referenced by - www.inc.com thank you....

Web Scraping with JSOUP in JAVA

Image
Web Scraping with JSOUP API in JAVA jsoup: Java HTML Parser     jsoup is a Java based library to work with HTML based content. It provides a very convenient API to extract and manipulate data, using the best of DOM, CSS, and jquery-like methods. It implements the WHATWG HTML5 specification, and parses HTML to the same DOM as modern browsers do. Multiple Read Support - It reads and parses HTML using URL, file, or string. CSS Selectors - It can find and extract data, using DOM traversal or CSS selectors. DOM Manipulation - It can manipulate the HTML elements, attributes, and text. Prevent XSS attacks- It can clean user-submitted content against a given safe white-list, to prevent XSS attacks. Tidy- It outputs tidy HTML. Handles invalid data - jsoup can handle unclosed tags, implicit tags and can reliably create the document structure. here is example of sample code: import org . jsoup . Jsoup ; import org . jsoup . nodes . Document ; imp

How to learn Spring framework step by step in JAVA

Image
How to learn Spring framework step by step in JAVA     If you are interested in learning advanced spring concepts, you have the multiple options. Note that there are many spring projects for specific purposes. You may not be able to master on all the projects. Here I am listing down some of the most popular spring frameworks that are most commonly used among the projects. Spring Core - This is the core engine for spring framework. Every other spring projects are built on top of this engine. You have to first understand clearly about the Dependency Injection and other concepts to be more successful spring framework developer.   Spring Boot - This is the most common for running spring applications. It is very latest one and must be learned by every spring developers. This will be the future way of building and running spring application.   Spring MVC - Spring MVC is the most popular web application framework in Java. If you are developing web application

How become a full stack Java developer

Image
How become a full stack Java developer For a full stack Java developer you should start with learning backend and front-end technologies Learn the backend side: Java, multithreading, collections, jdbc, etc. Spring framework Hibernate Get good hold of SQL. You can use mysql. Learn the how to deploy web servers Apache, database servers and configure them. Learn to use Nix based open source systems (ubuntu or community enterprise systems like centos). User management, firewall management, ssh, etc. Learn the Front-end side Start learning Html, css, JavaScript Try to understand how browsers work and to debug front-end in browsers. Learn about responsive UI and a UI framework like bootstrapjs. Learn JavaScript mvc framework like Angularjs.                                     Learn design patterns and basics of networking. Try to get a job as a full stack developer, backend developer or a front-end developer. It is going to help you in the long

how to improve programming logic

Image
  how to improve programming logic   1)Practice Puzzles To Improve Logical Thinking Finally, practice lots and lots of easy to complex puzzles. Search for resources that teach you how to solve puzzles. It has been scientifically proven that solving jigsaw and crosswords help in a child’s brain development. The same thing applies to any adult brain. Your brain’s memory is enhanced; problem solving capability and lateral thinking develops when you solve puzzles. Finally, you become a logical thinker and a better logic solver. Apply the leanings in your day-to-day life to solve daily problems. Ultimately, everything would result in you becoming a successful programmer in your day job.   2)Write and Code in the Programming Language Practice the programming language as much as possible. When you have mastered the programming language’s syntax and structure, your next goal is to practice the programming language. You can either write or type and practice. To

Java Coding Tips Every Programmer Should Know

Image
Java Coding Tips Every Programmer Should Know   When you talk about Object Oriented Programming, the best and the most apt example that comes to the mind is Java. Developed by Sun Microsystems, Java leads the way in terms of cross platform programming language and developing application software. The reason Java has gained such a large fan base and unprecedented popularity is because the language deploys a very easy and efficient approach to perform various programming tasks and aid the developers. 1. Get the basics right 2. Don’t just read  3. Understand your code and algorithm 4. Do not forget to allocate memory  5. Avoid creating useless objects 6. Interface is better than Abstract class 7. Standard library is a bliss 8. Prefer Primitive classes over Wrapper Class 9. Dealing with strings 10. Code, Code, Code and practice referenced by: http://blog.stoneriverelearning.com happy coding... thank you.                

How to write robust code

How to write robust code         As software is one of the most important issues in our era, writing good robust programs is essential. This article is an in-depth essay focused on Object Oriented software and large projects. Everything said here, though, scales well to good directives for small projects as well. Our time is dominated by software. There is basically software everywhere around us; most of the object you can see right now around you, have something to do with software, probably because they were created using some sort of machine. Given the importance of software nowadays, I just have to find bugs unacceptable. Of course you might argue that a small and rare bug is a minor software won’t harm anyone, and is not nearly as important as a bug that could affect the software of an airplane, and I’m going to agree with that. But as time goes by, everything has to be going towards perfection, and current trends about software seem to be going nowher

JAVA vs PYTHON

Image
JAVA . Java is unique in its own way and for an advanced programmer, no problem to use. Currently, it is widely used as the key programming platform on smartphones and tablets. for games coin free spin and slot here thetechiking and get rewards daily. Additionally, Java programming language forms a large part of the basis for Android’s operating systems. Java syntax is primarily a derivative from C++ and combines universal, organized and object oriented programming that offers automatic memory management. Using Java byte-code is advantageous to porting since it has similarities to machine code. Other benefits to Java include: Static typing  Curly braces used for noting the start and end of functions Programs are larger Does not compile native bytecode Can be run on any operating system that can run the Java VirtualMachine Cannot change data types of variables Object-oriented programming is mandatory Python. Python is a high-level programming lang

top 10 companies in the worlds..

top 10 companies in the worlds.. 1. Apple $182 billion in revenue. $40 billion in profits   2.Hewlett-Packard Company  HP’s $111 billion in annual revenue barely grew last year, which is why CEO Meg Whitman has announced plans to split HP into two separate businesses: HP Enterprise, which will sell enterprise infrastructure, software and services to businesses, and HP Inc., a consumer-facing seller of printers, computers and software.      3.IBM IBM has hit some struggles transitioning its on-premise server business to the cloud, watching its its $94 billion in revenue shrink 5.6% last year with profits falling by 27%.    4. Amazon Amazon’s momentum was called into doubt last year, for the first time in years, after it posted its biggest loss in years. Making matters worse, the company’s Fire phone was a massive disappointment, its cloud services faced competition from Microsoft, and the company got into a messy fight with book publisher Hachette

Great Features Java 8

Image
Great Features Java 8 Oracle released a new version of Java as Java 8 in March 18, 2014. It was  revolutionary release of the Java for software development platform. It includes various upgrades to the Java programming, JVM, Tools and libraries.   Java 8 Programming Language Java 8 provides following features for Java Programming: Lambda expressions, Method references, Functional interfaces, Stream API, Default methods, Base64 Encode Decode, Static methods in interface, Optional class, Collectors class, ForEach() method, Parallel array sorting, Nashorn JavaScript Engine, Parallel Array Sorting, Type and Repating Annotations, IO Enhancements, JDBC Enhancements etc.

Schedule Jobs in Java using Quartz (Java Job scheduling tutorial)

Schedule Jobs in Java using Quartz (Java Job scheduling tutorial) How to schedule Jobs in Java using Quartz (Java Job scheduling tutorial) This tutorial is intended for Users who are looking to automate job scheduling in Java using Quartz. For example, if you would like to run a particular Java program at a particular point of time and date (and at regular frequencies) automatically, you can use the Quartz API to achieve this. I will provide a simple example that covers the basics of the Quartz API to perform the scheduling. Quartz API has the following basic objects. > SchedulerFactory > Scheduler > JobDetail > Trigger.

Robot Class in Java

Robot Class in Java       The Robot class in the Java AWT package is used to generate native system input events for the purposes of test automation, self-running demos, and other applications where control of the mouse and keyboard is needed. The primary purpose of Robot is to facilitate automated testing of Java platform implementations. In simple terms, the class provides control over the mouse and keyboard devices.        We can handle input,output,and basic operation of maouse events with the help of Java Robot class.. example of robot class... // Java program to working of Robot class //This program is for Windoes. It opens notepad and types a message. import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.*; public class RobotInJava {      public static void main(String[] args) throws IOException,                             AWTException, InterruptedException      {