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 …
Category: FromSitesTree.com
Jul 15
SCJP: Language Fundamentals #Java Short Notes #SCJP
Class declaration and java source file. Only “one” top-level public class is allowed per java source file. The name of the java source file and the name of the top-level public class MUST be the same. If no public class is there in a file, after compiling separate class files will be created for all …
Jul 15
SCJP: Garbage Collection #Java Short Notes #SCJP
Garbage Collection Java itself does memory management. You do not need to allocate memory at the time of object creation; also you do not need to free memory explicitly Object is created either on the heap or on a stack Memory heap: Objects created with new keyword are placed in heaps. This memory remains allocated …
Jul 15
Java Spring: Components for Web #Java #Spring #Spring Framework and Hibernate #Spring #Spring Framework and Hibernate
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 …
Jul 15
Java Spring: Use Cases #Java #Java Frameworks #Spring #Spring Framework and Hibernate
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 From: http://sitestree.com/?p=10900 Categories:Java, Java Frameworks, Spring, Spring Framework and HibernateTags: Post Data:2017-07-28 20:42:31 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In …
Jul 15
JAVA: Some links: useful for exams like scjp/scja #Java Short Notes #SCJP #Blog
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 From: http://sitestree.com/?p=4845 Categories:Java Short Notes, SCJP, BlogTags: Post Data:2013-06-11 18:38:25 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net …
Jul 15
JavaScript Codes #JavaScript
JavaScript is a very powerful scripting language for web-site development. Also, it is in much demand. var serviceInstancesArrAtLoad = Array(); var serviceInstancesArrAtSubmit = Array(); var tempArr=Array(); function validate_required(field,alerttxt) { with (field) { if (value==null||value==”) { alert(alerttxt);return false } else {return true} } } function validateTicketCreateForm(thisform) { with (thisform) { if (validate_required(type,’Type must be filled out!’)== …
Jul 15
JavaScript Frameworks #JavaScript
The following web-resources discuss some JavaScript Frameworks. Comparisons among the frameworks can also be found. Discussion on the best JavaScript Framework Google Web Toolkit (GWT) DOJO: Home Page JQuery Dojo in Wikipedia Comparison of JavaScript frameworks A Book on DOJO Install DOJO DOJO Hello World Application From: http://sitestree.com/?p=3481 Categories:JavaScriptTags: Post Data:2016-07-09 20:31:15 Shop Online: https://www.ShopForSoul.com/ …
Jul 15
JavaScript: Pass by Value: Pass by Reference #JavaScript
JavaScript: Pass by Value: Pass by Reference From: http://sitestree.com/?p=3485 Categories:JavaScriptTags: Post Data:2016-07-09 23:39:28 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
Jul 15
JavaScript – Miscellaneous Validations #JavaScript
function validateDomainName(strValue) { return /www.[a-z0-9_-]+.[a-z]{2, 3}/ig.test(strValue); } function validateDomainName(strValue) { return /www.[a-z0-9_-]+.[a-z]{2, 3}/ig.test(strValue); } //not 100% right, will fix later function checkDateFormat() { var pattern = new RegExp(0|1[0-9]/[0-3][0-9]/[0-9][0-9]); if(document.getElementById(‘timestampStarted’).value.match(pattern)) { var date_array = document.getElementById(‘timestampStarted’).value.split(‘/’); var month = date_array[0]; var day = date_array[1]; var year = date_array[2]; // This instruction will create a date object source_date …
