Tag: Java

  • Eclipse (Juno) is not initializing suddenly!

    My Eclipse (Juno) was working fine till yesterday, it’s not initializing today. It doesn’t even showing any error message! Splash screen coming and GONE! Solution: Step 1: Delete YOUR_WORKSPACE\.metadata\.plugins\org.eclipse.core.resources\.snap If your problem is not solved yet STEP 2: DELETE YOUR_WORKSPACE\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi You are DONE!

  • Eclipse Debugging

    This article describes how to debug a Java application in Eclipse. This article is based on Eclipse 4.2 (Eclipse Juno). Table of Contents 1. Overview 1.1. What is debugging? 1.2. Debugging support in Eclipse 2. Prerequisites 3. Debugging in Eclipse 3.1. Setting Breakpoints 3.2. Starting the Debugger 3.3. Stack 3.4. Evaluating variables 4. Advanced Debugging…

  • Hints for writing secure code

    Security and data protection are becoming now more and more popular topics. We are coming into the world where too much information is transfered/used/processed by computer systems and any leak of that information can cause a big trouble. Thus, it is very important for application to protect customer information as much as it can and…

  • Insert line breaks into a long string to fit a length : Minimizing the risk of cutting a word unexpectedly

    import java.util.Calendar; import java.util.Date; public class test { public static void main(String[] argv) { String s = “Here, startIndex specifies the beginning index, and endIndex specifies the stopping point. The string returned contains all the characters from the beginning index, up to, but not including, the ending index. The following program uses substring( ) to…

  • Introduction to Spring Web MVC

    This document shows you how to construct a simple web MVC application using the Spring Framework. The application enables a user to enter her name in a text field, and upon clicking OK, the name is returned and displayed on a second page with a welcome greeting. The Spring Framework is a popular open source application framework that…

  • Best Place to know about Basics of JAVA

    http://chortle.ccsu.edu/CS151/cs151java.html

  • RMI নির্ভেজাল উদাহরণ

    RMI হচ্ছে সোজা কথায় আলাদা JVM -এর মাঝে অবজেক্ট ফাংশন কল করার জন্য একটা উপায়। এক মেশিনে হয়ত একটা JVM আছে RMI use করে আমরা আলাদা কোনো মেশিনে থাকা JVM-এর কোনো অবজেক্ট-এর ফাংশন কল করতে পারি। This is a powerful feature! আমার কাছে খুব বেশি কাজের মনে হয়নি, কারন হিসেবে বলতে পারি আমি এর ব্যবহার…