Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).
0
votes
0answers
2 views
Incorrect path in Cineasts example in spring-data-neo4j
I'm just starting to learn Neo4J with the supplied examples. After deploying the application I found the links in the examples are mostly broken. Not sure if I'm missing any steps during deployment.
...
0
votes
0answers
3 views
PHP JAVA encryption with MCRYPT_RIJNDAEL_256 and MCRYPT_MODE_CBC
Can anyone give me the equivalent JAVA methods of these PHP methods?
public function encrypt($string, $key)
{
return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($key), $string, ...
0
votes
0answers
17 views
Is there a way to avoid configuring the same information multiple times?
My application utilizes many libraries that each require their own configurations.
For example, both Hibernate and Apache Shiro requires me to specify database connection details in the configuration ...
0
votes
2answers
23 views
Regex Number replace into characters
I have a string such as "kdf343kkkk4k4". I need to find the numbers on this string and replace a number with a specific character like 'X'. Output should be like "kdfXXXkkkkXkX".
Each and every ...
-1
votes
0answers
8 views
Hibernate - Avoid the creation of a cross-table in oneToMany relation
In a one to many/many to one bidirectional relation, to avoid the creation of a cross-table I either add @mappedBy to the @ManyToMany or I add a @JoinColumn annotation.
So which one is the best?
...
0
votes
1answer
45 views
Making a program exit during a loop
I recently was playing around with Java, and I made a program that runs in a loop. When I tried hitting the X in the corner to close it, nothing happened. I tried adding standard mouselistener code to ...
0
votes
1answer
13 views
One SQL query for filling several JTextfields in Java
I'm working on an application in Java and I would like to fill many Jtextfields using one SQL query.
For example: My query is: select * from table, where the table has 2 columns "Items" and "Month":
...
0
votes
0answers
13 views
Scraping data from unstructured web
I encountered a problem with scraping unstructured data from web. I'm using for scraping structured data from web (such as for example ebay) tool like web-harvest. It's easy and effective. But I want ...
0
votes
0answers
4 views
Search Engine Indexable Rich Internet Application Framework
I know about Vaadin but I don't think the pages generated are currently indexable.
Which RIA framework can be used to develop web application in JAVA or PHP and that generates pages in such a way ...
0
votes
0answers
9 views
why my file ws_services.hbm.xml is not generate automatically?
this my hibernate.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
...
-1
votes
0answers
17 views
2nd image display over the first image
i want to display an image the first time i execute it it works fine but when it is again executed then it show the previous image not the latest one!!!..
i know this might be because of the new ...
0
votes
0answers
3 views
MongoDb and Hibernate OGM Example without maven
I could successfully set up the requirment for Hibernate OGM. My persistance.xml looks like this:
...
<provider>org.hibernate.ejb.HibernatePersistence</provider>
...
0
votes
0answers
11 views
Building Log4j 2.0 in my web project
I am new to log4j and want to use apache wicket which requires log4j 2.0,but Anytime i try building log4j 2.0 in my project as directed by Apache Logging ...
0
votes
0answers
7 views
Generating EDI files (CMS1500 Form)
I am working on an Health record system. We have to generate electronic claims(CMS1500 Form) for billing purposes and all the data required to generate the claim is there in our database. The ...
0
votes
0answers
7 views
“findLibrary returned null” on Android while connecting to deezer's player-module
I'm trying to establish a player-module from an android device to the music-streaming-platform deezer. This is the Tutorial I followed: http://developers.deezer.com/sdk/android#using-player-module-2
...