| Time |
S |
Nick |
Message |
| 00:01 |
|
|
trollolol joined ##javaee |
| 03:13 |
|
|
Bombe joined ##javaee |
| 08:44 |
|
|
AartBluestoke joined ##javaee |
| 12:19 |
|
|
neuro_sys joined ##javaee |
| 12:48 |
|
|
mocrunsthecity joined ##javaee |
| 13:07 |
|
conor_ireland |
pdurbin: thanks (only saw this now) |
| 13:32 |
|
pdurbin |
conor_ireland: I'm sorry I doubted you :) |
| 13:32 |
|
conor_ireland |
what? |
| 13:38 |
|
pdurbin |
I doubted java se had an app server built in |
| 13:38 |
|
conor_ireland |
ah, I was slightly surprised too |
| 13:39 |
|
|
mocrunsthecity joined ##javaee |
| 13:40 |
|
pdurbin |
conor_ireland: were you able to get it to work? pass it the db details? |
| 13:40 |
|
conor_ireland |
no, i don't have the code at home - I am assuming it just picks up the db details of the main VM it was run from |
| 13:41 |
|
conor_ireland |
so whatever the junit client is using in this case |
| 13:44 |
|
pdurbin |
ok |
| 14:09 |
|
neuro_sys |
java se comes with an app server? |
| 14:10 |
|
neuro_sys |
I remember it comes with an undocumented web server, right, Sun legacy. |
| 14:10 |
|
neuro_sys |
is that the one you're speaking of? |
| 14:38 |
|
pdurbin |
"host JAX-WS web services within plain Java SE applications" -- http://musingsofaprogrammingaddict.blogspot.com/2009/04/using-jax-ws-endpoint-api.html |
| 14:38 |
|
pdurbin |
neuro_sys: that one |
| 14:42 |
|
pdurbin |
"during development repeated deployments to a JEE container can be rather time consuming. JAX-WS' Endpoint class provides an interesting alternative here, as it allows to host JAX-WS web services within plain Java SE applications" |
| 14:43 |
|
pdurbin |
http://docs.oracle.com/javase/6/docs/api/javax/xml/ws/Endpoint.html |
| 14:44 |
|
neuro_sys |
oh yes |
| 14:44 |
|
|
mocrunsthecity joined ##javaee |
| 15:12 |
|
|
weyer joined ##javaee |
| 15:19 |
|
|
ramsrib joined ##javaee |
| 15:54 |
|
|
sfisque joined ##javaee |
| 16:12 |
|
|
mocrunsthecity joined ##javaee |
| 16:16 |
|
|
ramsrib left ##javaee |
| 16:39 |
|
|
AlexCzar joined ##javaee |
| 16:48 |
|
|
mocrunsthecity joined ##javaee |
| 17:46 |
|
conor_ireland |
yeah it is not quite a full app server by any means I suppose |
| 17:48 |
|
|
rsz joined ##javaee |
| 17:51 |
|
|
OptimusCrimeONE joined ##javaee |
| 17:51 |
|
OptimusCrimeONE |
How to dynamically create/assign objects using CDI? |
| 17:53 |
|
OptimusCrimeONE |
I'm making a simple quizgame and the game logic is under Managed Bean ... |
| 17:54 |
|
OptimusCrimeONE |
which have a member for questions, like this: |
| 17:54 |
|
OptimusCrimeONE |
@Inject |
| 17:54 |
|
OptimusCrimeONE |
@QuestionQualifier |
| 17:54 |
|
OptimusCrimeONE |
private QuestionInterface currentQuestion; |
| 17:55 |
|
OptimusCrimeONE |
I also have factory for generating questions and it seems to work fine |
| 17:55 |
|
OptimusCrimeONE |
I just don't know what syntax I should use to assign new Questions to currentQuestion member variable |
| 17:56 |
|
OptimusCrimeONE |
Could someone give a little help? |
| 18:07 |
|
OptimusCrimeONE |
This can't be that hard!! |
| 18:07 |
|
OptimusCrimeONE |
C'mon |
| 18:40 |
|
|
Yegor joined ##javaee |
| 18:47 |
|
Yegor |
Hi all. I have following problem. When i doing selection from database with namedQuery, order of row always change (after some row has been changed). Why it happen? |
| 18:51 |
|
neuro_sys |
afaik, row ordering is undefined, so I suppose it depends on cache status of db |
| 18:53 |
|
sess |
Yegor: if you need a defined order, use order by |
| 18:55 |
|
Yegor |
neuro_sys: ok. i will check it. i use primefaces 4.0 datatable. after row editing the next edited row after update becomes the same, as previous |
| 18:56 |
|
Yegor |
sess: if another variants will not work, i change generated queries |
| 18:57 |
|
sess |
or just can just sort the items in java |
| 18:59 |
|
neuro_sys |
I've got some threads hanging when the application context is being destroyed. |
| 19:00 |
|
neuro_sys |
Not sure which one is blocking. |
| 19:00 |
|
neuro_sys |
maybe I should give all threads a name |
| 19:03 |
|
Yegor |
sess: table properties 'sortBy' solved problem) |
| 19:04 |
|
Yegor |
sess: thanks |
| 19:10 |
|
sfisque |
yes, by sql, results that have no explicit ordering are supposed to be considered to have non-deterministic ordering. |
| 19:10 |
|
sfisque |
neuro_sys you can mark those threads as "daemon" which means they will terminate when the enclosing app shutsdown |
| 19:10 |
|
neuro_sys |
yes, I've set them all as Daemons |
| 19:11 |
|
neuro_sys |
it must be the websocket server library that spawns a thread of its own |
| 19:11 |
|
sfisque |
ah probably |
| 19:11 |
|
sfisque |
if it's listening, it has to |
| 19:11 |
|
neuro_sys |
I also should find a way to run websocket on the same port with the webserver, that is 80. |
| 19:14 |
|
sess |
wouldnt websockets be a natural part OF the webserver? |
| 19:16 |
|
neuro_sys |
yeah, tomcat 1.7 doesn't have it though, only 1.8. |
| 19:16 |
|
neuro_sys |
maybe I should change the appserver then to use the standard one |
| 19:16 |
|
sess |
sounds like a plan |
| 19:17 |
|
sess |
or just introduce a library |
| 19:17 |
|
sess |
wait tomcat has the java ee support for it? |
| 19:18 |
|
neuro_sys |
http://tomcat.apache.org/tomcat-8.0-doc/web-socket-howto.html |
| 19:20 |
|
sess |
oh it just implements that part of java ee |
| 19:20 |
|
sess |
cool |
| 20:57 |
|
|
mocrunsthecity joined ##javaee |
| 21:42 |
|
|
conor_ireland joined ##javaee |