JAVA - Spring MVC application step-by-step tutorial

14 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