Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!

Johan den Boer

Greenhorn
+ Follow
since Apr 08, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Johan den Boer

Hi

How can I do this query in hibernate using criteria, projections, restrictions

select * from my_table where id = (select id from other_table where name = 'abc')

thanks a lot

Johan
Hi,

I have a midlet running in the background but i have no idea how to notify the background midlet to stop running i mean it has to terminate.

have anyone an idea how to do

thanks

Johan
10 years ago

Gopinath Karyadath wrote: hi
where is your web application hosted ???If it is in localhost you cant access from your mobile.



it will be hosted on the companies website, not on a localhost
10 years ago
Hi,

I have a webapplication running under tomcat/wicket/spring. Is it possible to access this webapplication from a mobile device if this device has internet access ?

10 years ago
Hi,

I like to know if JavaFX can be used to develop software for the symbian os (S60). Some people say (see http://en.wikipedia.org/wiki/JavaFX) yes and some say no so I like to know if it is possible,

thanks a lot

Johan
10 years ago
hi

I have succesfully created a pool in glasfish and hsqldb. The only thing you need to congigure is : userName, password and url. If your password is empty then specify () as te value for password. also you need the url and not the databaseName as property.

As driver you can specify the jdbc driver for hsqldb.

Johan
11 years ago
Hi,

I have problem making a jdbc pool in glassfish and hsql database. Has anyone already make a pool in glassfish ? Can you telle me what i need to do (which datasources. properties) i need

thanks a lot

Johan
11 years ago
Hi,

I am looking for a Java library to access the USB port. I must be run on Windows and Linux platforms

thanks a lot

Johan
12 years ago
Hi, I have a JTable in a JScrollPane with for example 1000 rows. In my program I want random select a row and highlight this selected row. I search the internet but can not find how to to do it. Another question is : how can i select this row set this selected row in the middle of the scrollpane

thanks a lot

Johan
12 years ago
Hi

I use this line of code for using character encoding of my db file

String value = new String(buf, recordOffset, fieldLength, Constants.CHAR_ENCODING);

where Constants.CHAR_ENCODING = US_ASCII
buf = bytes[]

To save bytes in your db file you need to convert from string to bytes and specify the character encoding

Johan
Hi,

One way to do it could be this scenario :

When retrieving all record from your database I guess you want to display them in a JTable component. Maybe you can use a Map for the locations and names. Maps do not allow duplicate values. Use the Map to display the unique values in your combo box for location and name

suc6

by the way : I passed the exam wit 373/400. I use Jtextfields for my search values.

John
congratulations, i have passed the exam on may 27, my score was 373

regards

Johan
Hi,

I am very happy to let all of you know that I pass the exam. See the results below. Score = 373 of 400.

Section Summary: Section Max Actual Points Points General Con: 100 90 Documentation: 70 70 OOD: 30 30 GUI: 40 33 Locking: 80 80 Data Store: 40 40 Network Server: 40 30 Total: 400 373

regards

Johan
13 years ago
Hi,

I have written a web start application which runs as a windows xp service. How does the application know when there is a new version available. It needs to be restarted without help from the user (in the background). How can I do that.
13 years ago
Hi,

I interpreted the search as follows. I used the indexOf method to match exactly the values specified by the user in the name and/or location field. So, if the name is 'Company Freddy' or 'Fred's Company' and you are searching for 'Fred' than both records will match, but 'fred' will not.

Johan