Skip to main content

Posts

Amazon Ads

A Beginners Guide to Java JDBC

Introduction to JDBC in Java Java Database Connectivity is a standard Java API used to connect Java application with Database. Java JDBC is used to communicate with the different type of Databases like Oracle, MS Access, My SQL and SQL Server. JDBC can also define as the platform-independent interface between a relational database and Java programming. It allows a java program to execute the SQL statement and retrieve the result from the database. JDBC uses drivers to connect with database.  Different Types of JDBC Driver in Java  There are four types of JDBC Drivers:
1. JDBC-ODBC Bridge Driver 2. Natïve Driver 3. Network Protocol Driver 4. Thin Driver Why should we use JDBC? There is some critical point which explains why we should use JDBC.
1. JDBC API is Standard API. We can communicate with any Database without revising our Application, i.e. it is Database Independent API. 2.JDBC Drivers developed in Java, and hence JDBC Concept is applicable for any Platform. i.e., JDBC is Platfor…

How Java Servlet Works?

Features of Java Servlet There are 5 Features of Servlet are as Follow: Portable: Servlet uses Java Programming language, and as we know java is portable language, so servlet is also portable. Efficient: Servlets invocation is highly skilled as compared to any CGI programs. Robust: JVM manages Servlet. That’s why Servlet is robust. Performance: Servlet creates a thread for each request, so the performance of servlet is better than CGI. Secure: Because it uses java language, so servlet is safe.
How Servlet Works? Whenever a request comes, it received by the servlet, and then they forward the request to the web container. A Web container is responsible for handling the request by creating the new thread. Container creates multiple threads to execute various requests.


Let’s understand the working of Servlet – 1. The User sends a request by clicking a link for a servlet. 2. Then, the container finds the servlet and Create two instances.   a.HttpServletRequest   b.HttpServletResponse 3. After …

16 Best On-Page SEO Techniques for Improve Search Ranking

16 On Page SEO Activities for Improve Search Ranking On Page SEO including proper headings, proper keyword placement, ensuring content quality, and paying attention to many other factors.

1) website structure: A website’s technical structure plays a central role in determining its success or failure. SEO professionals can develop content and customer-centric websites that are also accessible and attractive to search engines.


2) Meta Title: Meta title is very important role play in search engine optimization. The title length should be 50 to 65 characters. Meta title display SERP.

3) Post Permalink Structure: Your URL is displayed is one of the most important factors of On-page SEO. It is important to correctly display your URL with use of target keyword and should also avoid using special characters, symbols, brackets, commas, etc. within the actual URL.

4) Heading Tags: Heading tags are mainly used to highlight various headings, sub-headings, and important Loading Word-press, the ti…

10 Best OFF Page SEO Techniques 2019

OFF Page SEO Activities
Off-page SEO indicates all the things that you do directly to your website to help you rank higher, such as social networking, article submission, forum, blogging, community creation & blog marketing, etc.
Here are some most effective off-page activities which help you to increase your page ranking :
1) Social Networking Sites:
Social networking sites are becoming more acceptable these days! Social networking sites allow you to extend your online network by connecting and interacting with your friends and other interested people, to share things with each other, and most importantly to promote your website/blog and help build your online reputation. There are some top social networking sites -be it Facebook, Twitter, Instagram, Pinterest, google+, etc.

2) Blogging:
A blog represents your work, services. Blogging also helps search engines to crawl your site more frequently, as they have to update your latest blog post entries, which ultimately helps you ran…

How to do SEO For E-Commerce Website?

A Beginners Guides to Optimization of an E-Commerce website SEO: Search Engine Optimization
Search Engine Optimization, every websites backbone, is the tool that can make or break any website. Optimization of an e-commerce website is more critical and complicated than doing SEO for any other website. It is because your e-commerce site can have many more hundreds or even thousands of product listings that require you to follow best practices ensuring the performance of your website at an optimum level.
Strategy Forgetting to the top of Google search results there should be little margin or room for errors while conducting SEO for your e-commerce website. It is because ideally, you must be looking to be within top three positions to tremendously increase the traffic for your website. The number one ranked result receives the search of 31.24 clicks. The number two gets half of it around 14.04 clicks and so on coming down for rest three ranked searches. These statistics show the importan…

10 Difference between C++ and C# Programming Language

What is the Difference Between C++ and C#?

The 10 main Difference between C++ and C# are as follow:

No. C++ C#
1. C++ is a low-level language. C# is a High-level Language.
2. It supports the multiple inheritances. It does not support multiple inheritances.
3. In C++, you require to manage memory manually. C# automatically manages Memory.
4. In C++, after compiling code changed into machine code. In C#, after compiling code is changed into an intermediate language code.
5.

Control Statement in PHP with Example

PHP Control Statement What is Control Statement in PHP? A block of code which decide the execution way of programme according to the value of the given condition.


There are some control statements that PHP supports.
1. PHP if Statement If a given condition is true, only then if statement will execute.
Syntax:
if(condition) {
block1 of code;
}

if Statement Example: 
<?php
if ($15 > $10)
echo “15 is greater than 10”;
?>

Output:
15 is greater than 10

2. PHP if…else Statement In PHP, if a statement is executed only when a specified condition is true. It evaluated to its Boolean values. If the condition is FALSE, it’ll ignore it.
Syntax:
if(condition) {
block1 of code
}else {
block2 of code
}

if - else Statement Example: Find a largest number between two numbers using if else statement;
<?php
$first_value = 5;
$second_value = 10;
if($first_value > $second_value) {
echo “$first_value is greater than $second_value”;
} else {
echo  “$second_value is greater than $first_value”;
}
?>…