Thursday, 8 January 2015

JMeter


WebLogic Server Administration PDF Guide.

This material is from Durga Software Solutions.WebLogic is a server software application that runs on a middle tier between database and related applications or browser.WebLogic server is based on Java 2 Platform, Enterprise Edition (J2EE), the standard platform used to create Java-based multi-tier enterprise applications.

WebLogic Server Administration PDF Guide from DurgaSoft_Javabynataraj

J2EE platform technologies were developed through the efforts of BEA Systems and other vendors in collaboration with the main developer, Sun Microsystems. Because J2EE applications are standardized modules, WebLogic can automate many system-level tasks that would otherwise have demanded programming time.

J2EE platform technologies were developed through the efforts of BEA Systems and other vendors in collaboration with the main developer, Sun Microsystems. Because J2EE applications are standardized modules, WebLogic can automate many system-level tasks that would otherwise have demanded programming time.
The PDF file contains the  below given topic.

Ø  WebLogic Training
Ø  Introduction to WebLogic Application server
Ø  Brief History of WebLogic
Ø  Application Server Versions
Ø  Capabilities
Ø  Supported Open Standards
Ø  Comparision of Application Servers
Ø  What is WebServer
Ø  What is Application Server
Ø  What is difference between WebServer and Application Server
Ø  Installing Oracle WebLogic Server Environment
Ø  Web Application Server Configuration
Ø  Application Server Configuration
Ø  Oracle WebLogic Server Installation
Ø  Configuring Oracle WebLogic Server Environment
Ø  WebLogic server Administration
Ø  Famous WebLOgic Interview Questions


Google Drive





Friday, 12 December 2014

How to disable the rules in sonar.

it's very easy to disable and enable the rules in sonar
login to http://localhost:9000/ for sonar server.
your project should be added here.
click here.to seee
now you need to log in..user name is admin.pwd is admin
 1:-go to quality profile
 then selcet java profile
 2:-sonar way
 3:enter the rule as key ..here and click on serach . now uncheck the box and ..inactive it
 and go to dashboard ...and leave it.

 4:-now run sonnar runner command once again..
 and check your dashboard once again you can see. the rule has reflected vice versa you can do .
 just enable it and ..do same rest of process..

Wednesday, 10 December 2014

SonarQube Tool set up manually

you can use sonar in manual process way..

Eclipse plugin approach is available her

http://javadeveloperchoiceno1.blogspot.in/p/sonar.html

Installation Steps:


·         Go to http://www.sonarqube.org/downloads/ link and download latest version of SonarQube and SonarQube Runner. Extract the zip to local directory.
·         Set SONAR_RUNNER_HOME environment variable to SonarQube directory.
Ex: SONAR_RUNNER_HOME =D:\sonar-runner-2.3
·         Set JAVA_HOME Path

·         Set Path=% JAVA_HOME %;% SONAR_RUNNER_HOME %;

Starting SonarQube Server & Running Project Analyzer the project:


·         Open command prompt & go to SonarQube/bin/ directory. In bin directory there are many directories. Go to suitable directory depending on your OS. For example for Windows with 32 bit directory would be SonarQube/bin/ windows-x86-32.
·         Run StartSonar.bat command & wait for few seconds to start the server.
         
       open browser & go to http://localhost:9000/ URL to confirm the SoanarQube server is up & running. 
        
       then
       ·         Click on Login link to login with default user name “admin” & password “admin”.
·         In order to analyze the project, we have to create “sonar-project.properties” file in our java project root directory. Sample “sonar-project.properties” file:

fi     fill these detail inside property file
        # Required metadata
sonar.projectKey=java-sonar-runner-simple
sonar.projectName=ETailWebApp
sonar.projectVersion=1.0

# Comma-separated paths to directories with sources (required)
sonar.sources=src
# Language
sonar.language=java
# Encoding of the source files
sonar.sourceEncoding=UTF-8


·       Open command prompt & go to Java project root directory which we want to analyze (Make sure SonarQube server is started & “sonar-project.properties” file is in project root directory).
Run sonar-runner batch file which is in sonar-runner/bin directory (We have downloaded sonar-runner.zip & sonarqube.zip file & extracted it in local file

open cmd use follwing kind of command
 cd D:\GE GDC Working Folder\ashish.negi\EtailProject\ETailWebApp_4
go up to your project..which has sonnar properties file
 then

use this command
D:\Sonar\sonar-runner-2.3\bin\sonar-runner.bat

now you can see porject been interarated with report
Now go to http://localhost:9000/ to open the Dashboard. Now in project section there will be a project.

after this

Ø  After getting Project into Sonar… Use following URL…
Ø  Save xml file into local… Ex: D:\violations.xml
Ø  Open that xml file from     Excel. ( We will get Excel Report here..)




while doing all this set up you can get some issue please follow following url


 



t







Friday, 21 November 2014

How To Parse XML File In Java,,

We have couple of  ways to do in java or some other ways ..
 I have mentioned (4)ways we. 

1:-Creating a Java DOM XML Parser

:--
2:-Parsing XML with a Java DOM Parser

3:-Creating an XPath object

4:-Using XPath to parse the XML

more you can find in below link:-

--------------------------------------------------------