Tags » Java 2


Using native-maven-plugin for compiling the JNI components.

Source code for this project @ https://github.com/thebagchi/JNI-PROJECT

1. Project Directory Structure.

|---- src
      |---- main
            |---- java
                  |---- com
                        |---- example
                              |---- JniWrapper.java
                              |---- Application.java
            |---- native
                  |---- include
                        |---- <autogenerated header file>
                  |---- src
                        |---- jni.c
|---- pom.xml
|---- generate-header.bat
|---- generate-header.sh
… 1,039 more words
C Programming

@lob menghasilkan longtext mysql

Ternyata @lob menghasilkan longtext pada mysql


Test coding ini :)

private static final long serialVersionUID = 1L;
@Id @GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid2")
private String id;

private String teks;

private String pilihanA;

private String pilihanB;

private String pilihanC;

private String pilihanD;

private String pilihanE;
private String jawaban;
private String tipe;
11 more words

how test a kotlin class?

TDD is a modern software development process based on creation of automatic test before write code, so modern programming can’t be called in this way without test the software. 194 more words


Kotlin exercise 1: Connect to MongoDB -part 2-

In the first part of this exercise we have seen how connect to a MongoDb with Java. Now that is clear how the connection can be performed, we can try to do the same with Kotlin. 252 more words


Java SE7 Features

-Binary literals, (using prefix 0b or oB)
-Underscores in numeric literals
-string in switch statements
-type inference for Generic instance creation
Map<String, List<String>> myMap = new HashMap<String, List<String>>(); 98 more words

Kotlin exercise 1: Connect to MongoDB -part 1-

After the firts posts on Kotlin, i want to creating something more difficult. And i chose to try a database connection in Kotlin.

In this exercise i chose to connect my little application to a Mongo database. 255 more words


Jar file Comparison with Beyond Compare

In this post we will know how to use Beyond Compare for Jar file comparisonĀ  41 more words