Http Client server application GET/POST GUI Connection

This tutorial will cover a Http Client server application GET/POST GUI Connection in Java. This is tutorial part two for creating the client side application. The goal of this tutorial is to create a GUI application that connects to web and shows addition of two numbers. Part one of this tutorial where we server side application can be found here: Http Client server application GET/POST . In this tutorial, I am using NetBeans IDE and Glassfish Server. Focus of this application are following:

  • Create user Interface for GUI using netbean
  • Connect Java GUI application that can take input from webserver

Create a new Java application from File > New Project > Java and select Java application. Then click Next and type in Project name. Please unchecked Create main class.

You will see that a new Java application project have been created. Do a right-click on default Package and click on New > JFrame Form. Now provide class name as ClientServerApp and Package name as com.serverapp . Click on finish.

Continue Reading →

Continue Reading >>

Case Project 1-1: Selecting a SQL Server 2012 Edition

I hope this note will help you to finish the project. This is for Case Project 1-1: Selecting a SQL Server 2012 Edition. Name of the Book is Introduction to SQL Server 2012 (MCSA Guide to Microsoft SQL Server 2012 (exam 70-462))

Madam,

Current version of SQL server is 2016. But I can see that we are interested in SQL server 2012. I did some research on different editions of SQL server 2012 Editions.

My research led to msdn.microsoft.com where I was able to find differences between SQL server 2012 editions. According to my research we should only consider Enterprise or the Business Edition. Here are the differences per Microsoft website:

  • SQl server 2012 Enterprise: Enterprise edition is recommended for business. According to Microsoft msdn this edition is comprehensive, mission-critical in-memory performance with unparalleled security, mission critical high availability, an end-to-end enterprise business intelligence solution. This edition also includes built in mobile BI. It supports unlimited virtualization with software assurance.
  • SQl server 2012 Business: In this edition, there are some limitation in high availability, Scalability and Performance. We will not get all high functionality as Enterprise edition.

 
Continue Reading →

Continue Reading >>

Http Client server application GET/POST in Java Example

This tutorial will cover a Http Client server application GET/POST in Java Example. The goal of this tutorial is to create a GUI application that connects to web and shows addition of two numbers. This is tutorial part one for creating the server side application. Part one will cover the web application. Next part will show the GUI creation. and In this tutorial, I am using NetBeans IDE and Glassfish Server. Focus of this application are following:

  • Create Web application that can add two numbers
  • Create Java application that can take input from webserver

 

First part is to create Web server application for our client server application. Create a new web application from File > New Project > Java Web and select Web application. Then click Next and type in Project name.

Now Click Next and select Glassfish Server and click finish

You will see that a new web application project have been created. Do a right-click on the project and click on run. You will see that your configured browser have started a localhost link using Glassfish Server. My application is showing http://localhost:8080/ClientServerWeb/  according to above project settings. If the server started and localhost url is showing demo web page, then we are in right track. Next step is to start coding out server side application that can return addition of two number using http.
Continue Reading →

Continue Reading >>