Shortcuts, Uncategorized

Dreamweaver CC 15

Key board Shortcuts

F4 -toggle (hide and show panels)

Advertisements
Uncategorized

Install Maven 3.5 on windows 10 64 bit

Follow these steps,

1.check you have installed java 1.7 or above on your machine.

command to check java installed properly

c:\>> java -version

maven1.png

2. Download maven

https://maven.apache.org/download.cgi

Binary zip archive

3.Extract the archive and copy the \bin  folder path . Place this path in Environment variable path maven 2.png

 

Command to check maven installed correctly

$mvn -v

maven3.png

4. You can change maven local repository as below

E:\Project\apache-maven-3.5.0\conf

Go to  \conf  directory and edit settings.xml

Add  your custom repo location there.

eg.

<localRepository>your local repo location</localRepository>

maven4.png

WEB-SERVICES

Note on frameworks for Web-service

JAX-WS

part of java web services development pack

client and server libraries included

Also included in eclipse for Java EE Developers

JAX-WS 2.0 replaced JAX-RPC in Java EE 5.0

 

JAVA -Other options

Apache CFX

Supports Soap & restful services

works over HTTP ,JMS(java messaging services),JBI (java business integration)

 

Apache Axis2

SOAP/WSDL Engine

 

Android Developer

Ksoap2

 

Python

ZSI,SUDS,spyne,ladon,pysimplesoap,SOAPpy

 

RUBY

XMLRPC4R ,SAOP4R

 

 

Java

Create First Spring Boot App

Steps to be followed

1.Create Maven project in eclipse /STS 
NEW-Others-Maven Project-
check create sample project 
-give Group ID & Artifact ID

2.Go to POM file and Add Following dependencies
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.abc.boot</groupId>
 <artifactId>SpringBoot</artifactId>
 <version>0.0.1-SNAPSHOT</version>

<parent>
 <groupId>org.springframework.boot</groupId>
 <artifactId>spring-boot-starter-parent</artifactId>
 <version>1.5.2.RELEASE</version>
</parent>
<dependencies>
<dependency>
 <groupId>org.springframework.boot</groupId>
 <artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>

<properties>
<java.version>1.8</java.version>
</properties>

</project>


3.Create Class To Start Spring Boot App

@SpringBootApplication
public class CourseApiClass {

 public static void main(String[] args) {
 SpringApplication.run(CourseApiClass.class, args);
 }

}


4. Start Application 


Front End Technologies

Setting Up Angular Environment

Hi folks today we will learn to set up angular development environment

Tools Needed

  1. Sublime Editor
  2. Node package manager

Steps

  1. Create angular directory anywhere in your computer eg. C:\angular_root,
    then create following sub-directories scripts & css under angular_root& last create index.html
  2. Install Node to your machine, check $node -v
  3. angular_root$npm install angula
  4. angular_root$npm install http-server
  5. angular_root$npm install angular-material mdi                                                          these commands will create folder node_module in root directory and corresponding js will get downloaded there.
  6.  Now create app.js in scripts folder                                                                                           angular.module(“ng-demo”,[]);
  7. similarly update index.js<!DOCTYPE html>
    <html>
    <head>
    <title>Ng classifieds</title>
    </head>
    <body ng-app=”ng-demo” ng-init=”message=’Hello sandip, Welcome to Angular'”>

    {{message}}

    http://node_modulesangularangular.js
    http://scriptsapp.js
    </body>
    </html>

  8. Now run  http-server                                                                                                                                     angular_root$http-server
  9. Test http://localhost:8080/

 

 

 

 

 

Wordpress

How to Install Apache on Windows

Following  are steps to install Apache server on Windows 10

1.Download Apache server

https://www.apachelounge.com/download/

2.Extract downloaded file  on C folder

C:\Apache24

(install >.NET C++ Plugin if not there ).NET Plugin

3. Make following changes to  C:\Apache24\conf \ httpd.conf file

change Listen to Listen 127.0.0.1:80

serverName to ServerName localhost

4.check any process running on port 80 (if it is then stop that or change port @ Listen)

(We check this visually with windows resource manager tool

Start>>All Programs>>Accessories>>System Tools>>Resource Monitor (or Run resmon.exe, or from TaskManager performance tab))

usually in Windows 10 following process runs on port 80 “World Wide Web Publishing Service” go to services find it stop it and set manual start option.

5.Now go to C:\Apache24\bin with command prompt and execute httpd.exe

6.open browser and test @ http://127.0.0.1/

7.That’s all .

 

 

 

 

 

 

 

 

 

 

Informative

How to use google map web srvice api’s

How to use google map web srvice api’s

here is the url to fetch you location details from google

http://maps.googleapis.com/maps/api/geocode/output_format?address=your_city&sensor=false
example

json format

http://maps.googleapis.com/maps/api/geocode/json?address=kolhapur&sensor=false

xml format

http://maps.googleapis.com/maps/api/geocode/xml?address=kolhapur&sensor=false