JAVA - Spring MVC application step-by-step tutorial

16 comments

JAVA - Spring MVC application step-by-step tutorial

Software Required :

1.Spring tool suite3.6.0- Framework used
2.apache-tomcat-7.0-Server required

Spring Tool Suite :

The Spring Tool Suite is an Eclipse-based development environment that is customized for developing Spring applications.
You can download the same from Here : Download from here 


Installing and setting up STS :

1.Download Spring Tool Suite latest version. Current download link is: Download from here
Click to download ‘SPRING TOOL SUITE’.

2.Once downloaded, double click to install. Click next, Accept License, Click Next, Select Installation Path, Click Next.

3.Select defaults including tc server and click next. STS includes its own version of Tomcat called tc-server.

4.Select a JDK (not JRE) and click Next.

5.Continue to Click Next leaving defaults until the last page, where you can select Launch STS and click finish.

6.Double click the STS icon shown below to start OR Right click and select Open .



JAVA-Spring MVC application
Read More

API for Closing/Finally Closing PO Using po_actions.close_po in orcale R-12

Leave a Comment

API for Closing/Finally Closing PO Using po_actions.close_po


API for closing or finally closing the POs. In this API, there is a parameter "p_action" which we need to set as either CLOSE (if we want to close the PO) or FINALLY CLOSE (If we want to Finally Close) the PO. Another Parameter which needs to set properly is "p_auto_close". This parameter should be set to 'N'.

/*oracle R12 : PO - Script to Close / Finally Close PO using PO_ACTIONS CLOSE_PO API.sql*/

DECLARE

x_action constant varchar2(20) := 'CLOSE'; -- Change this parameter as per requirement
x_calling_mode constant varchar2(2) := 'PO';
x_conc_flag constant varchar2(1) := 'N';
x_return_code_h varchar2(100);
x_auto_close constant varchar2(1) := 'N';
x_origin_doc_id number;
x_returned boolean;

Read More

How to make code secure in Java

2 comments
 Java-Make your code secure 

Lets make our code more secure…..when we google the same...1st n foremost thing we could see is validate your inputs…..validate in what terms…1.Inputs must be in the proper format or type..(string,integer..etc) 2.Inputs if integer must be within the proper range .3.Regular expressions are used to allow the special characters along with the valid input.
Code is said to be not secured ..when it contains loopholes termed as Vulnerabilities which can cause harm to the application or project…so here are  some efforts to make code less vulnerable…


Read More

Amcharts - Add a graph with axis dynamically

Leave a Comment

Add a graph with axis dynamically with am-charts


In this article i will explain how to insert graphs to chart dynamically.We are going to use Jquery and amcharts(JavaScript Charts & Maps)



Description


Read More

Query to find Bank, Bank Account, and Bank Branches information-Oracle R12

Leave a Comment

Query to find Bank,Accounts and Bank Branches information

SELECT cba.bank_account_name            "Bank Account Name",
       cba.bank_account_num             "Bank Account Number",

Read More

HOW TO KEEP MIND CALM AND PEACEFUL

Leave a Comment

KEEP MIND CALM AND PEACEFUL

Being in a hurry all the time drains your energy. Getting caught up in things beyond your control stresses you out. If you’d like to reduce stress and become calm and cool and wanted to compose yourself, put the following 12 steps into practice will surely help you but you need to be little more patient.

1. Let it go.
This thing that seems like the end of the world right now? Stressing out about the situation you’re in won’t do any good because you’re already in it, so just let it go.Keep calm and carry on.
keep calm and carry on


Read More