Category: Java

Dec 06

Some Educational Android Apps on Software/Web Development

Some are in Bengali Project Management https://play.google.com/store/apps/details?id=com.sitestree.pmp On CSS https://play.google.com/store/apps/details?id=com.sitestree.css On JavaScript https://play.google.com/store/apps/details?id=com.sitestree.javascript   On PHP https://play.google.com/store/apps/details?id=com.sitestree.php   On SEO course https://play.google.com/store/apps/details?id=com.sitestree.seo   SQL Course https://play.google.com/store/apps/details?id=com.sitestree.sql   Oral Communications https://play.google.com/store/apps/details?id=com.justetc.oral_communications.workplace   AngularJS https://play.google.com/store/apps/details?id=com.salearningschool.bangla.angularjs1   HTML https://play.google.com/store/apps/details?id=com.salearningschool.bangla.html          

Aug 01

Spring Boot Learning Resources

Your first “Hello World”  Spring Application https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started-first-application.html   Maven Build life cycles to be used in the build process of maven based Spring-based-projects https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html   Spring Boot Repository: https://github.com/spring-projects/spring-boot   Spring Bunch of Samples https://github.com/spring-projects/spring-boot/tree/v1.5.6.RELEASE/spring-boot-samples   Spring: Getting Started Guides and Samples https://spring.io/guides/            

Jul 29

Android UI Design Patterns: Common UI Design Patterns

Home Screen Patterns Primarily for Android Phones: List and Detail Pattern: Might be good for home screen. Very common : Grid can also be used as alternative to List and Detail pattern. Carousel Pattern: Also used in Home Screens:  take the list and detail pattern and use it multiple times on the same screen then …

Continue reading

Jul 29

2 Cents : Assemble Your Android Development Workstation

You will need: -> Java (SE 8 JDK) -> Eclipse for Java, Java EE with J2ME support along with Android Plugin or Android Studio (latest)   You might  the following software useful  for your need (No, I did not use them all) Fusion: https://stuartspixelgames.com/2016/05/10/how-to-make-android-games-in-fusion/ Audacity: Audio Editor : https://sourceforge.net/directory/os:mac/?q=audacity+for+android Inkscape: Drawing : SVG: https://inkscape.org/en/ Blender: …

Continue reading

Jul 29

Android Versions

Latest version is 8 – still in Beta 2.8 Android 3.0 Honeycomb (API 11) … 2.9 Android 4.0 Ice Cream Sandwich (API 14) … 2.10 Android 4.1 Jelly Bean (API 16) … 2.11 Android 4.4 KitKat (API 19) … 2.12 Android 5.0 Lollipop (API 21) … 2.13 Android 6.0 Marshmallow (API 23) 2.14 Android 7.0 …

Continue reading

Jul 29

Implement a REST Service in Java : Jersey : Pretty Simple Java Code

Will just show the code   steps : Create a Dynamic Web Project in Eclipse, Under Webcontent/WEB-INF/lib add jersey jars (download from: ), you might want to add all jars from API, Ext, and lib folders of Jersey (though some jars will be unnecessary for this purpose), then under java resources folder and src sub-folder …

Continue reading

Jul 28

Java Spring: Core Components

Java Spring: Core Components   Security: Secure your application via spring-security AOP: Aspect-oriented programming including spring-aop and AspectJ Atomikos (JTA): JTA distributed transactions via Atomikos Bitronix (JTA): JTA distributed transactions via Bitronix Narayana (JTA): JTA distributed transactions via Narayana Cache: Spring’s Cache abstraction DevTools: Spring Boot Development Tools Configuration Processor: Generate metadata for your custom …

Continue reading

Jul 28

Java Spring: Components for Web

Java Spring: Components for Web Web: Full-stack web development with Tomcat and Spring MVC Reactive Web: Reactive web development with Netty and Spring WebFlux: requires Spring Boot >=2.0.0.M1 Websocket: Websocket development with SockJS and STOMP Web Services: Contract-first SOAP service development with Spring Web Services Jersey (JAX-RS): RESTful Web Services framework with support of JAX-RS …

Continue reading

Jul 28

Java Spring: Use Cases

Reference: https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/overview.html   Typical full-fledged Spring web application     Spring middle-tier using a third-party web framework   Remoting usage scenario   EJBs – Wrapping existing POJOs      

Jul 28

Must Know Java Technologies for recent Java Positions

What is Spring Boot? “Spring Boot is a brand new framework from the team at Pivotal, designed to simplify the bootstrapping and development of a new Spring application. The framework takes an opinionated approach to configuration, freeing developers from the need to define boilerplate configuration.Mar 18, 2014 Exploring Micro-frameworks: Spring Boot – InfoQ” https://www.infoq.com/articles/microframeworks1-spring-boot What …

Continue reading

Jul 20

Key Generation: Security : Basic Java

Key Generation : Basic Java keytool -genkey -alias signFiles -keystore examplestore jarsigner -keystore examplestore -signedjar sCount.jar Count.jar signFiles keytool -export -keystore examplestore -alias signFiles -file Example.cer — Application under Security Manager java -Djava.security.manager -cp sCount.jar Count C:\TestData\data — Misc keytool -import -alias susan -file Example.cer -keystore exampleraystore keytool -printcert -file Example.cer java -Djava.security.manager -Djava.security.policy=exampleraypolicy -cp …

Continue reading

Jul 20

Count Chars in a File : Pretty Simple Java Code

/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * – Redistributions of source code must retain the above copyright * notice, this list of …

Continue reading

Jul 20

Get System Property: Pretty Simple Java Code

/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * – Redistributions of source code must retain the above copyright * notice, this list of …

Continue reading

Jul 19

Pretty Simple Java Code

/** * The HelloWorldApp class implements an application that * simply prints “Hello World!” to standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello Worlld”); } } class ArrayDemo { public static void main(String[] args) { // declares an array of integers int[] anArray; int[] theArray; // allocates memory for 10 …

Continue reading

Jun 30

Envoyer: Zero Downtime PHP application Deployment

Zero Downtime PHP Deployment – Laravel application deployment Deployments you’ve only dreamed about. Zero downtime. Zero fuss. https://laracasts.com/series/envoyer/episodes/1

Jan 02

Spring Tutorials

Spring Tutorials: Spring Tutorials   https://projects.spring.io/spring-framework/   Getting Started Guides Building a RESTful Web Service Consuming a RESTful Web Service Managing Transactions Accessing Relational Data using JDBC with Spring Scheduling Tasks Serving Web Content Validating Form Input Messaging with JMS Tutorials Designing and Implementing RESTful Web Services with Spring Screencasts How to create a RESTful …

Continue reading

Jul 17

SCJP: Java Operators

By Sayed Exams like SCJP test your understanding of Java operators and how to use them like: assignment operators: =, +=, -= arithmetic operators: +, -, *, /, %, ++, — relational operators: <, <=, >, >=, ==, != logical operators: &, |, ^, !, &&, || conditional operators: ? : Also operators to check …

Continue reading

Jul 04

Crystal Report for Java/JSP/Java EE

Similar to the way you use Crystal Report for report creation in Visual Studio. The following web-pages and videos will demonstrate how to use Crystal Report in Eclipse IDE [for Java] for report creation. Creating reports using tools like this may be faster and more efficient than creating reports with Java/JSP coding solely. Modification to …

Continue reading

Jan 22

Java Books on SCJP, Java Language Specification, XML with Java, and Web Services

SCJP Sun Certified Programmer for Java Platform Study Guide: SE6 (Exam CX-310-065) ©2009 (Richard F. Raposa) Servlet Servlet Essentials Specification The Java Language Specification Spring Framework and Hibernate Patterns: Integrating WebSphere ILOG JRules with IBM Software ©2011 (Chris Rayns, et al) Designing Web Services with the J2EE 1.4 Platform: JAX-RPC, SOAP, and XML ©2005 (Inderjeet …

Continue reading

Nov 01

step by step spring inventory management

Oct 20

object oriented concepts in java

Oct 20

object oriented concepts in general

Oct 19

flow contro collection concurrency generics fundamentals

Oct 19

basic java language concepts

Oct 19

basic file operations in java

Jun 11

JAVA: Some links: useful for exams like scjp/scja

Assertions in Java: http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html Enum in Java:http://www.java2s.com/Code/Java/Language-Basics/Enum.htmStringBuffer and StringBuilder Classes have similar methods where StringBuffer is synchronized: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/StringBuilder.htmlSerialize and Deserialize: http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.htmljava.util package is very important: http://java.sun.com/j2se/1.4.2/docs/api/java/util/package-summary.html

Jun 05

SCJP: Classpath and Jar

Java certification exams like SCJP test your knowledge about java classpath. Check here for an excellent resource on the topic . System classpath We can specify classpath in the command line or make use of a `system’ class path. The IDEs have their own way of maintaining class paths. System class paths will be used …

Continue reading

Feb 13

SCJP: Sun Certified Java Programmer: All that you need to know

Introduction to Sun Certified Java Programmer Certification Course Java : SCJP: Important Resources JAVA: Some links: useful for exams like scjp/scja SCJP Essential Knowledge SCJP Practice Exams SCJP Training: Lesson 1: Develop code that declares classes (including abstract and all forms of nested classes), interfaces, and enums, and includes the appropriate use of package and …

Continue reading

Dec 29

SCJP: Java Operators

Exams like SCJP test your understanding of Java operators and how to use them like: assignment operators: =, +=, -=arithmetic operators: +, -, *, /, %, ++, –relational operators: < , , >=, ==, !=logical operators: &, |, ^, !, &&, ||conditional operators: ? : Also operators to check the equality of two objects or …

Continue reading

Dec 07

SCJP: Random Stuffs

An enum may NOT be declared in a method An enum can be imported If the JVM has a choice, it will select a method without varargs before selecting a method with varargs When enums are equal, both .equals and == always return true The headMap() method returns the portion of the map whose keys …

Continue reading

Skip to toolbar