Browsed by
Category: Articles

Tomcat 7 Default Administrator Password

Tomcat 7 Default Administrator Password

Tomcat 7 Default Administrator Password By default you can see the below content in tomcat-users.xml file under (apache-tomcat-7.0.88\conf) By default nothing is configured so add your own username and password for manager-gui roles to get the access for Manager App & Host Managers. <?xml version=’1.0′ encoding=’utf-8′?> <!– Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file…

Read More Read More

249 total views, 3 views today

Arraylist to Array Using ToArray() in java

Arraylist to Array Using ToArray() in java

Syntax: <T> T[] toArray(T[] a) Eg : String[] y = x.toArray(new String[0]); T – the runtime type of the array to contain the collection Parameters: a – the array into which the elements of this list are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose. Returns: an array containing the elements of this list Throws: ArrayStoreException – if the runtime type of the specified array is not a…

Read More Read More

580 total views, 2 views today

Generate angular + Java code using yeoman & Jhipster

Generate angular + Java code using yeoman & Jhipster

Generate angular + Java code using yeoman & Jhipster Ensure you have installed yeoman (yo when dealing with npm and yarn) and jhipster (generator-jhipster when dealing with npm and yarn). If not installed, have a quick look at,     Step 1: Run yo jhipster     It will ask around 10 to 15 questions, you can provide the sample values as per the above screenshot and proceed to step 2:   Step 2: Angular 5 & Java Codes are…

Read More Read More

566 total views, 1 views today

100 Things to Know in Angular 4/5

100 Things to Know in Angular 4/5

100 Things to Know in Angular 4 I started writing this post with the intention to keep important and crispy factor about angular in one place. But I am not able to write all the 100 things about angular same time, so I am publishing the post with the information I have handy now and I will make sure this post get updated often till we reach 100 things, if possible 200 things 😉 If you guys have something to…

Read More Read More

488 total views, no views today

10 Things to Know in Spring Boot

10 Things to Know in Spring Boot

10 Things to Know in Spring Boot 1. Spring boot is not a brand new framework like mvc/web/rest/jpa add-ons, it’s just a additional kit from spring to reduce the development headaches with spring framework. 2. Spring boot provides single dependency entry for pom.xml configuration, <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.10.RELEASE</version> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> Here this downloads all the dependencies required for web spring applications.   3. Version 1.5.10 represents the version of the spring boot(not any spring core/context…

Read More Read More

373 total views, 1 views today

Java Remote Debugging Web Application Steps

Java Remote Debugging Web Application Steps

Java Remote Debugging Web Application Steps: Java web applications are complex to setup and do debugging all the time for all the issues. In those cases, we can smartly keep the code deployed currently in local and just do remote debugging to figure out the issues. It is much easy with IBM WebSphere or Eclipse. Step 1: Add these two entries in your web application server consoles / jvm properties: -Dwas.debug.mode=true -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=13123   Step 2: And in Eclipse, Debug as…

Read More Read More

421 total views, no views today

How to import maven spring boot project in Eclipse / STS ?

How to import maven spring boot project in Eclipse / STS ?

How to import maven spring boot project in Eclipse / STS ? Here I am using spring tool suite to reduce the additional configuration required for spring projects with Eclipse. I highly recommend you to download and use spring tool suite if you are going to develop any projects in spring framework. You can download spring tool suite from here I hope you have running spring tool suite / eclipse. Let’s start with importing spring boot maven project and see…

Read More Read More

556 total views, no views today

Maven build from local jar Steps

Maven build from local jar Steps

We need to create or do maven build sometimes using our local jar.  Today we are going to see the simple steps create the maven build with our local jar instead of the jar from maven repository/custom repositories.   Here I mentioned the 4 steps for maven build using our local jars. I tested this easy way and it works awesome. Hope it helps you as well! Feel free to write if you have some other ways for the same…

Read More Read More

610 total views, 1 views today

Angular 4 CLI + Angular Universal Setup Steps

Angular 4 CLI + Angular Universal Setup Steps

Angular 4 CLI + Angular Universal Setup Steps: Angular universal is superb component for angular projects for server side rendering, which really resolves SEO related issues to the great extend. But setting up a angular universal will become little complex if you try after developing your complete applications. Because some of the component you used in your angular 4 project may not have a proper configuration to support angular universal.   So I highly recommend to run angular universal beginning…

Read More Read More

1,386 total views, no views today

Picking Best UI Framework for Angular 4 Projects

Picking Best UI Framework for Angular 4 Projects

Picking Best UI Framework for Angular 4 Projects: I have been spending more than 2 weeks on picking best UI framework for my new angular 4 project. Unfortunately no straight forward conclusion. But I am sharing my complete analysis on this to help you guys for better UI pick for your angular 4 projects. Criteria to pick/select Best UI framework for Angular 4: Should be angular supportive (plain css UI frameworks needs lot of modifications when using with angular 4)….

Read More Read More

1,400 total views, no views today