Time |
S |
Nick |
Message |
00:27 |
|
|
Fubar^ joined ##javaee |
01:30 |
|
|
joshua_jandyco joined ##javaee |
03:12 |
|
|
null_wp joined ##javaee |
03:14 |
|
|
Quest joined ##javaee |
07:22 |
|
|
dangertools joined ##javaee |
07:31 |
|
|
dangatools joined ##javaee |
07:35 |
|
|
dangertools joined ##javaee |
07:35 |
|
|
dangertools joined ##javaee |
07:39 |
|
|
tangatools joined ##javaee |
09:28 |
|
|
neuro_sys joined ##javaee |
11:23 |
|
|
[[thufir]] joined ##javaee |
13:14 |
|
|
[[thufir]] joined ##javaee |
13:51 |
|
|
kinabalu joined ##javaee |
13:55 |
|
|
bottttt joined ##javaee |
13:55 |
|
neuro_sys |
.part ##javaee |
13:55 |
|
|
bottttt left ##javaee |
13:56 |
|
tjsnell |
fail |
14:08 |
|
acuzio |
YOU SHALL NOT part |
15:34 |
|
pdurbin |
heh |
15:36 |
|
pdurbin |
next session: Scala in Action [CON1729] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=1729 |
15:36 |
|
pdurbin |
by https://twitter.com/hseeberger |
15:38 |
|
tjsnell |
Scala uptake has slowed a lot |
15:38 |
|
tjsnell |
still super fringe and java8 may just kill it |
15:39 |
|
pdurbin |
he's using https://github.com/scala-ide/scala-worksheet as a REPL in Eclipse, which is cool |
15:40 |
|
pdurbin |
(I think) |
15:56 |
|
pdurbin |
I dunno about super fringe... Twitter published Scala School - http://twitter.github.io/scala_school/ |
16:03 |
|
tjsnell |
if you look at any numbers measuring it's adoption it's very fringe |
16:03 |
|
tjsnell |
it's very cool but not widely used |
16:03 |
|
tjsnell |
even if a giant like Twitter uses it |
16:05 |
|
pdurbin |
sure |
16:07 |
|
acuzio |
tjsnell: its not cool - |
16:08 |
|
tjsnell |
sure it is |
16:08 |
|
tjsnell |
but it's also dangerous as hell and tends to folks being clever and writing unmaintainable code |
16:08 |
|
pdurbin |
the REPL he's using is great. It just puts the values to the right of the code as comments |
16:08 |
|
acuzio |
your definition must be different - Haskell is cool -., Scala is just retarded ., its a bad mix of a bunch of good ideas |
16:09 |
|
pdurbin |
acuzio: what don't you like about Scala? |
16:11 |
|
tjsnell |
you're tony aren't you!? |
16:12 |
|
acuzio |
pdurbin: it needs to decide what it wants to be - Haskell on the JVM , yes thats good or Lisp on the JVM - thats good as well , its a bit of both with the worst characteristics of bot |
16:12 |
|
acuzio |
Additionally, its not readable at all |
16:13 |
|
acuzio |
ever tried reading someone else's Scala code - good luck |
16:13 |
|
pdurbin |
certainly Scala is multi-paradigm (by design), allowing both object oriented and functional programming |
16:14 |
|
tjsnell |
~simple scala |
16:14 |
|
tjsnell |
oh damn |
16:14 |
|
tjsnell |
no javabot :( |
16:14 |
|
* pdurbin |
should set up a javaeebot :) |
16:14 |
|
tjsnell |
trait **->**->** {implicit def **->**->**[A, F[_, _], B](a: F[A, B]): *->*->*[A, F, B] = new *->*->*[A, F, B] {val value = a}} |
16:14 |
|
acuzio |
Multi-paradigm means everyone picks their own paradigm to write that shit |
16:14 |
|
tjsnell |
now that's readable! |
16:15 |
|
acuzio |
its the C++ problem - |
16:15 |
|
pdurbin |
or perl. I love perl :) |
16:15 |
|
acuzio |
No one knows what anyone else has actually written |
16:15 |
|
whartung |
I used to thnk perl was the bees knees back in the day, then I walked away from the code for 6mos |
16:15 |
|
tjsnell |
but you have to admire code where (_._) is valid syntax |
16:17 |
|
acuzio |
I once saw some code where the guy had written Java in Scala - his whole reason for choosing Scala was the REPL - |
16:17 |
|
acuzio |
that was the most sane usage i have seen |
16:18 |
|
acuzio |
This might also be because i do _boring_ enterprise work |
16:18 |
|
pdurbin |
huh, the speaker is using a git tool he wrote in Scala: https://github.com/hseeberger/groll ... " |
16:18 |
|
pdurbin |
Plugin for sbt to navigate the Git history |
16:21 |
|
pdurbin |
ah ha. now he's showing his Game of Life implementation: https://github.com/hseeberger/scala-in-action/tree/master/src/main/scala |
16:25 |
|
|
kinabalu joined ##javaee |
16:26 |
|
pdurbin |
here are all the rules: https://github.com/hseeberger/scala-in-action/blob/master/src/main/scala/Generation.scala |
16:26 |
|
pdurbin |
here's where he's integrating with Java (JavaFX, specifically): https://github.com/hseeberger/scala-in-action/blob/master/src/main/scala/GameOfLife.scala |
16:31 |
|
pdurbin |
huh. someone asked if Scala works with OSGI and the speaker said yes and has even written https://github.com/w11k/scalamodules |
16:37 |
|
|
null_wp joined ##javaee |
16:45 |
|
pdurbin |
next session: Jump-starting Lambda Programming [TUT3877] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=3877 |
16:46 |
|
whartung |
you at java one pdurbin ? |
16:46 |
|
pdurbin |
taught by https://twitter.com/stuartmarks |
16:46 |
|
pdurbin |
whartung: yep |
16:46 |
|
whartung |
cool |
16:46 |
|
pdurbin |
whartung: see yesterday;'s log for more :) |
16:46 |
|
whartung |
:) yea, that won't happen :) |
16:47 |
|
pdurbin |
"My #JavaOne tutorial #JumpStartingLambda begins shortly. Use that hashtag for questions or comments" -- https://twitter.com/stuartmarks/status/382182816718393344 |
16:59 |
|
pdurbin |
no questions? https://twitter.com/search?q=%23JumpStartingLambda :) |
17:25 |
|
|
Naros joined ##javaee |
17:25 |
|
|
Naros left ##javaee |
17:28 |
|
tjsnell |
why wouldn't scala work with osgi? |
17:37 |
|
|
Administrator_ joined ##javaee |
17:42 |
|
pdurbin |
slides and video from last year's (shorter) talk: http://stuartmarks.wordpress.com/2012/10/07/javaone-2012-jump-starting-lambda-programming/ |
17:50 |
|
pdurbin |
new annotation: @FunctionalInterface - http://download.java.net/jdk8/docs/api/java/lang/FunctionalInterface.html |
17:58 |
|
pdurbin |
encouraged to use these functional interfaces rather than writing our own: http://download.java.net/jdk8/docs/api/java/util/function/package-summary.html |
17:59 |
|
pdurbin |
heh. "spliterator": http://download.java.net/jdk8/docs/api/java/util/Spliterator.html |
18:04 |
|
whartung |
we may well dive headlong in to Java 8 with our new project |
18:05 |
|
pdurbin |
we're talking about skipping 7 :) |
18:05 |
|
sfisque |
we probably wont. not enough need for anonymous functioning (very little parallel processing, as well) |
18:06 |
|
pdurbin |
it's due out in the spring |
18:06 |
|
sfisque |
we'll just skip to 10 when they remove the primitive types :P |
18:07 |
|
tjsnell |
you're using 1.6 still!? |
18:07 |
|
sfisque |
previous rev was 1.6, new rev is 1.7 (we had to refactor some because 1.7 broke some stuff in the version of primefaces we were using) |
18:07 |
|
pdurbin |
we have a ticket to upgrade :) |
18:08 |
|
sfisque |
in the enterprise world, stability > "gee whiz" |
18:08 |
|
pdurbin |
sfisque: they put up a slide yesterday about how primefaces adoption has taken off in the last 4 years (since the project started) |
18:09 |
|
tjsnell |
no primefaces for me! |
18:09 |
|
sfisque |
yah. it's probably the best "third party" jsf impl |
18:09 |
|
tjsnell |
actually I'm doubtful to ever do much web side in java again |
18:09 |
|
sfisque |
feature rich, and it's getting pretty "bug free" |
18:10 |
|
sfisque |
what would you do then? even SOAP and REST are web techs |
18:10 |
|
sfisque |
and RC is kind of taking a beating atm |
18:10 |
|
tjsnell |
server side java all the way |
18:10 |
|
tjsnell |
presentation side javascript |
18:11 |
|
tjsnell |
angularjs of late |
18:11 |
|
sfisque |
right but what's the js calling? |
18:11 |
|
sfisque |
for data |
18:11 |
|
sfisque |
and session |
18:11 |
|
sfisque |
and other stuff |
18:11 |
|
tjsnell |
java |
18:11 |
|
tjsnell |
as I said |
18:11 |
|
tjsnell |
java on the server |
18:11 |
|
sfisque |
and those calls are still web |
18:11 |
|
whartung |
he's talking removing the presentation logic from the services, and pushing it all in to the JS web client |
18:11 |
|
tjsnell |
but no jsps, play, wicket etc |
18:11 |
|
tjsnell |
semantics |
18:11 |
|
whartung |
yea |
18:11 |
|
whartung |
they're "http" |
18:11 |
|
tjsnell |
i've clarified |
18:11 |
|
sfisque |
if it's talking http, you're still doing web |
18:11 |
|
tjsnell |
stop being a pedant |
18:12 |
|
pdurbin |
:) |
18:12 |
|
sfisque |
vs messaging or some other delivery |
18:12 |
|
whartung |
he could be using websockets... |
18:12 |
|
tjsnell |
web.... |
18:12 |
|
pdurbin |
he's talking about the front end being written in javascript, as oppossed to JSF or whatever |
18:13 |
|
sfisque |
aye but jsf isnt java. it's xml. if you want to get really pedantic, so it's not even java |
18:13 |
|
tjsnell |
I don't |
18:13 |
|
pdurbin |
yeah, let's not get pedantic :) |
18:13 |
|
tjsnell |
pedantic is just irritating |
18:13 |
|
sfisque |
:-) |
18:13 |
|
sfisque |
ok, lets' devolve into sophistry instead :P |
18:13 |
|
pdurbin |
:) |
18:13 |
|
* sfisque |
goes and hides |
18:14 |
|
pdurbin |
so those slides from last year have a lot of the same examples |
18:14 |
|
pdurbin |
he goes through the old way and the new way with lambdas |
18:14 |
|
pdurbin |
in his "robocall" examples |
18:15 |
|
pdurbin |
and then from lambdas to streams |
18:15 |
|
pdurbin |
it's all about streams :) |
18:15 |
|
pdurbin |
pipelines |
18:16 |
|
pdurbin |
I expect people will be happy to use lambdas in Java 8 |
18:16 |
|
sfisque |
as long as they don't create unreadable soup |
18:17 |
|
sfisque |
showing 1 line examples hides the danger |
18:17 |
|
pdurbin |
"write only" ;) |
18:19 |
|
sfisque |
aye but doing things like ( int, int ) -> { blah; } hides things like ( obj, obj, obj ) -> { tons of questionably thread safe modifications as well as side effects spread over many lines of code }; |
18:19 |
|
sfisque |
i remember when inner classes were added in 1.1 and it was "the new toy". tons of inexcusably complex or obtuse object graphs |
18:20 |
|
sfisque |
i'm guessing we'll see a couple years of crap code, before people "get over it", and dial it back to use it more smartly |
18:20 |
|
pdurbin |
new: Optional - http://download.java.net/jdk8/docs/api/java/util/Optional.html |
18:20 |
|
sfisque |
now that's nice |
18:21 |
|
sfisque |
no more NullPerson class building |
18:21 |
|
whartung |
In java 8, all I'll write is Lambdas. I'll builtd my own object system out of Java Closures and Lambdas…it will be Pure and Perfect! |
18:21 |
|
* sfisque |
hates nullObject definitions |
18:21 |
|
sfisque |
ROFL whartung |
18:21 |
|
sfisque |
well, time to fetch the spawnlings. ttys |
18:22 |
|
whartung |
safe journey |
18:23 |
|
sfisque |
i've often wondered, after they added Proxy in the reflect package, why they never built in a "nullProxy" |
18:23 |
|
sfisque |
until now i guess (Optional) |
18:26 |
|
|
kobain joined ##javaee |
18:31 |
|
whartung |
nullObjects? |
18:36 |
|
|
Administrator_ joined ##javaee |
18:36 |
|
pdurbin |
he's showing parallel().reduce ... map reduce on a stream |
18:37 |
|
pdurbin |
"as much as we'd like to get rid of mutation, we can't" |
18:38 |
|
whartung |
it's those damn gamma rays |
18:38 |
|
pdurbin |
:) |
18:41 |
|
pdurbin |
"reduction operations" - http://download.java.net/jdk8/docs/api/java/util/stream/package-summary.html#Reduction |
18:42 |
|
whartung |
nice |
18:42 |
|
pdurbin |
"Using reduce() instead removes all of the burden of parallelizing the reduction operation, and the library can provide an efficient parallel implementation with no additional synchronization required." |
18:43 |
|
whartung |
yea |
18:43 |
|
whartung |
for when you want to sum up those arrays of 1M integers. |
18:43 |
|
whartung |
watch it peg all of your cores for a micro second. |
18:43 |
|
whartung |
that's very nice |
18:45 |
|
Fubar^ |
is that reduce only safe because sum is commutative? |
18:45 |
|
Fubar^ |
because of the .parallelStream i mean |
18:45 |
|
whartung |
yea |
18:48 |
|
Fubar^ |
for non commutative functions, is the non-parallel version left or right associative? |
18:48 |
|
whartung |
"yes" :) |
18:51 |
|
pdurbin |
"lambdas change the way you design libraries" |
18:51 |
|
Fubar^ |
the function must be associative so i guess the order is undefined |
18:52 |
|
whartung |
no kidding! |
18:52 |
|
pdurbin |
"streams change the way you write applications" |
18:52 |
|
whartung |
that's why I'm considering J8 for our next work |
18:52 |
|
whartung |
embrace the new idioms from day 1 |
18:53 |
|
pdurbin |
yeah |
19:05 |
|
|
oO0Oo joined ##javaee |
19:25 |
|
|
Naros joined ##javaee |
19:48 |
|
sfisque |
whartung -> nullObject … static instance of an object that has no sane state, but can at least allow method invocation without getting an NPE (can throw some other informative exception, offer a default unusable value (-1, null, "", etc.) |
19:48 |
|
|
oO0Oo joined ##javaee |
19:48 |
|
sfisque |
so instead of Obj x = null; you'd do Obj x = Obj.nullObj; |
19:49 |
|
acuzio |
sfisque: Is Quest around ? |
19:49 |
|
sfisque |
i do not see him listed |
19:50 |
|
acuzio |
hes usually in hiding - under Guest |
19:50 |
|
acuzio |
this channel is dying without him |
19:51 |
|
sfisque |
lolz. it's fine. why would you want a channel constantly saturated. it's nice to idle. gives us better chance to answer a question or debate a topic without constant cross-talk |
19:51 |
|
acuzio |
no fun without Quest in it |
19:54 |
|
sfisque |
well, he does bring a fair amount of motion with him :-) |
19:55 |
|
acuzio |
indeed :-) |
19:58 |
|
acuzio |
sfisque: You know he is a tech-lead right ? |
19:58 |
|
sfisque |
i know very scant about him |
19:59 |
|
acuzio |
i sort of know of him - he was a pest in #java |
19:59 |
|
acuzio |
got banned, kicked constantly |
19:59 |
|
sfisque |
lol, who isnt |
20:00 |
|
sfisque |
this is irc. if anyone utters the phrase, "i've NEVER done…. " you know they're a liar (queue the massive attack theme song to House) |
20:01 |
|
* sfisque |
hits a voodoo doll in the likeness of Quest with his cane |
20:01 |
|
acuzio |
well he is one of a kind |
20:01 |
|
sfisque |
yes…. i think that puts it "tactfully" |
20:01 |
|
acuzio |
heh |
20:05 |
|
tjsnell |
I'm rarely kicked or banned there! |
20:05 |
|
tjsnell |
but it happens |
20:06 |
|
whartung |
I simply don't go |
20:06 |
|
sfisque |
i'm sure if i went, i'd probably get KBed, from the way i've heard it described |
20:06 |
|
sfisque |
i'm content with #nb and @jee |
20:07 |
|
sfisque |
****#jee |
20:07 |
|
whartung |
#nb? Netbeans? |
20:07 |
|
sfisque |
y |
20:07 |
|
whartung |
I guess I should update someday :) |
20:08 |
|
whartung |
I have 7.0.1 here, still 6.8 at the house lol |
20:08 |
|
acuzio |
##java is up and down - depends on the mood of cheeser really - though some of the other ops there are really chilled |
20:08 |
|
tjsnell |
me! |
20:09 |
|
acuzio |
yeah sure :-) |
20:09 |
|
tjsnell |
on that note, time to go chill and play poker |
20:09 |
|
tjsnell |
tata |
20:10 |
|
acuzio |
lucky sod |
20:10 |
|
acuzio |
i am still in the office |
20:10 |
|
acuzio |
when i say "still" - i mean as usual |
20:11 |
|
whartung |
I have a 4 of clubs. I bet 0.25 |
20:13 |
|
acuzio |
i win |
20:13 |
|
* whartung |
curses and spills his drink |
20:13 |
|
whartung |
poker is fun! |
20:17 |
|
sfisque |
scrum poker. i have a 13. i bet… 13!!! |
20:24 |
|
|
pdurbin2 joined ##javaee |
20:24 |
|
whartung |
oh, great, another evil twin |
20:25 |
|
pdurbin2 |
heh. different venue. port 22 blocked, maybe |
20:26 |
|
pdurbin2 |
"@philipdurbin Thanks! Interesting chatter. Also thanks for digging up doc links in near real time." -- https://twitter.com/stuartmarks/status/382236006172209152 :) |
20:26 |
|
whartung |
nice |
20:33 |
|
pdurbin2 |
speaking of cheeser, I met him last night. nice guy |
20:33 |
|
acuzio |
are you at javaone ? |
20:34 |
|
acuzio |
pdurbin2 ^^ |
20:34 |
|
pdurbin2 |
acuzio: yep |
20:35 |
|
acuzio |
anything interesting ? |
20:36 |
|
pdurbin2 |
right now I'm in Demystifying Java EE [CON2231] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=2231 |
20:36 |
|
pdurbin2 |
the speaker really knows Java EE: http://www.adam-bien.com |
20:37 |
|
whartung |
yea, adam knows his stuff |
20:39 |
|
acuzio |
is English not his first language ? |
20:39 |
|
whartung |
probably not |
20:42 |
|
whartung |
pretty sure he's from northern europe somewhere |
20:44 |
|
acuzio |
makes sense - his english on his web page is pretty non-idiomatic |
20:55 |
|
|
pdurbin2 left ##javaee |
21:47 |
|
|
pdurbin2 joined ##javaee |
21:47 |
|
pdurbin2 |
next session: Coding Java EE 7: Making Easy Even Easier [CON4456] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=4456 |
21:48 |
|
pdurbin2 |
with https://twitter.com/arungupta and https://twitter.com/lincolnthree |
21:49 |
|
pdurbin2 |
I do believe port 22 is blocked at this hotel. works fine at the HIlton. oh well |
21:49 |
|
sfisque |
22? |
21:49 |
|
pdurbin2 |
ssh |
21:49 |
|
sfisque |
443 |
21:50 |
|
pdurbin2 |
usually, I ssh to my server where I have screen+weechat running with my pdurbin nick |
21:50 |
|
sfisque |
are you referring to the https urls? |
21:50 |
|
sfisque |
oh ok |
21:50 |
|
whartung |
so what did adam talk about pdurbin2 |
21:50 |
|
pdurbin2 |
whartung: lots of stuff. on my mind what he said about JSF (which we use) |
21:51 |
|
pdurbin2 |
he says JSF is great for "enterprise" internal applications that don't need to be pretty, don't need to be pixel perfect |
21:51 |
|
sfisque |
thats funny. i would argue the same thing, but not for the reason he specifies |
21:51 |
|
pdurbin2 |
but for consumer apps, he likes the idea of exposing everything via an API and using http://angularjs.org to build the front end |
21:51 |
|
whartung |
I don't know about pixel perfect, but I'd agree with him on that |
21:52 |
|
pdurbin2 |
does anyone have a take on Angular vs. Twitter Boostrap? are they basically the same? |
21:52 |
|
whartung |
twitter bootstrap as I understand it is just a CSS theme |
21:52 |
|
sfisque |
jsf renders fine for us. my beef with jsf is that it makes deep linking problematic unless you turn the page construction workflow backwards |
21:52 |
|
whartung |
Angular is a full boat property change framework in JS |
21:55 |
|
pdurbin2 |
whartung: no, there must be some javascript in twitter bootstap a well. right? someone added it to http://sourcefu.com and now it's more... responsive or whatever... looks better in a mobile browser. I don't think it's just CSS... |
21:55 |
|
* pdurbin2 |
looks at the commit: Switched to using Twitter Bootstrap, specifically the Spacelab theme fro... · 7f9aa7f · sourcefu/sourcefu.github.com - https://github.com/sourcefu/sourcefu.github.com/commit/7f9aa7f |
21:55 |
|
whartung |
oh, I dunno about that. I mean, I can;t really say, just my impression, but BS is just a style as I understand, not a component framework |
21:56 |
|
pdurbin2 |
whartung: huh. maybe you're right... |
21:57 |
|
pdurbin2 |
"optional JavaScript extensions" according to http://en.wikipedia.org/wiki/Twitter_Bootstrap |
21:57 |
|
pdurbin2 |
whartung: ok, and angular is full boat. MVC. I wonder if that's what Discourse uses... |
21:58 |
|
pdurbin2 |
huh. no... they use Ember.js: https://github.com/discourse/discourse |
21:59 |
|
pdurbin2 |
anyway, bootstrap is what we'd like to take a look at. to use in combination with JSF (IceFaces, I guess, what we use now) if we can |
21:59 |
|
whartung |
yea, it makes more sense in that context than angular for sure |
22:00 |
|
pdurbin2 |
session starting... "no slides. code is king" \o/ :) |
22:00 |
|
sfisque |
icefaces… blech |
22:02 |
|
pdurbin2 |
sfisque: you sound happy enough with primefaces |
22:02 |
|
|
null_wp joined ##javaee |
22:03 |
|
pdurbin2 |
Lincoln is praising https://github.com/arun-gupta/javaee7-samples |
22:06 |
|
sfisque |
from what i know, ice faces is a bad knockoff of PF. i'd say, if you're working on jboss stack, RichFaces is probably btter fit, but for GF, PF works nicely |
22:07 |
|
whartung |
nice pdurbin2 |
22:09 |
|
pdurbin2 |
they're showing a "batch" example: https://github.com/arun-gupta/javaee7-samples/blob/master/batch/chunk-csv-database/src/main/java/org/javaee7/batch/chunk/csv/database/MyItemReader.java |
22:09 |
|
whartung |
yea, that's going to be a nice feature. |
22:09 |
|
whartung |
maybe it can replace the kit I wrote 5 years ago lol |
22:10 |
|
pdurbin2 |
a sample "job" - https://github.com/arun-gupta/javaee7-samples/blob/master/batch/chunk-csv-database/src/main/resources/META-INF/batch-jobs/myJob.xml |
22:10 |
|
whartung |
interesting |
22:11 |
|
whartung |
mine didn't go that far |
22:11 |
|
whartung |
didn't need to paramterize the steps |
22:11 |
|
pdurbin2 |
looks like these are the docs: http://docs.oracle.com/javaee/7/tutorial/doc/batch-processing.htm |
22:11 |
|
whartung |
the internal classes had that, sorta, but not as meta data |
22:14 |
|
pdurbin2 |
they're highlighting @DataSourceDefinition http://docs.oracle.com/javaee/6/api/javax/annotation/sql/DataSourceDefinition.html |
22:14 |
|
whartung |
oh, icky |
22:15 |
|
whartung |
I mean, really |
22:15 |
|
whartung |
I get it, much of the meta data in an EJB app is perhaps a bit overkill |
22:15 |
|
whartung |
but the DS isn't one of them, frankly |
22:16 |
|
whartung |
you need out of band instructions to have the container admin add the appropriate JDBC Driver anyway, whats a few more lines to set up a connection pool |
22:17 |
|
whartung |
how busy is it there pdurbin2 |
22:19 |
|
pdurbin2 |
people are standing in the back |
22:19 |
|
whartung |
cool |
22:19 |
|
whartung |
"java is dead" |
22:20 |
|
pdurbin2 |
they're talking about schema generation, using example from (I think) https://github.com/arun-gupta/javaee7-samples/tree/master/jpa |
22:21 |
|
whartung |
schema generation is folly |
22:21 |
|
whartung |
IMHO |
22:21 |
|
whartung |
from JPA |
22:22 |
|
whartung |
it's a nice toy, demos well, but it doesn't work |
22:22 |
|
pdurbin2 |
heh |
22:22 |
|
* pdurbin2 |
looks at http://en.wikibooks.org/wiki/Java_Persistence/What_is_new_in_JPA_2.1%3F |
22:23 |
|
whartung |
"Entity Graphs - allow partial or specified fetching or merging of objects." nice |
22:23 |
|
* whartung |
wonders what TREAT option is. My cat enjoys TREAT options |
22:23 |
|
pdurbin2 |
on to JMS: https://github.com/arun-gupta/javaee7-samples/blob/master/jms/send-receive-simple/src/main/java/org/javaee7/jms/send/receive/simple/ClassicMessageSender.java |
22:24 |
|
whartung |
yea they cleaned that up a bit with Closers (or whtave they're called) |
22:24 |
|
pdurbin2 |
closures, lambdas, whatever |
22:24 |
|
whartung |
no, things that auto close resources like connections |
22:25 |
|
pdurbin2 |
oh |
22:25 |
|
pdurbin2 |
much less code in https://github.com/arun-gupta/javaee7-samples/blob/master/jms/send-receive-simple/src/main/java/org/javaee7/jms/send/receive/simple/SimplifiedMessageSender.java |
22:25 |
|
whartung |
you'll see in a sec |
22:25 |
|
whartung |
prescient! |
22:25 |
|
pdurbin2 |
:) |
22:25 |
|
whartung |
yea that's nice |
22:26 |
|
whartung |
NOT THAT IT MATTERS! |
22:26 |
|
whartung |
OH NOES! 5 lines of code... |
22:26 |
|
whartung |
shudder, shiver, shake |
22:26 |
|
pdurbin2 |
:) |
22:29 |
|
pdurbin2 |
on to JTA: https://github.com/arun-gupta/javaee7-samples/blob/master/jta/transaction-scope/src/main/java/org/javaee7/jta/transaction/scope/MyTransactionalBean.java |
22:30 |
|
pdurbin2 |
sounds like @TransactionScoped is new: https://github.com/arun-gupta/javaee7-samples/blob/master/jta/transaction-scope/src/main/java/org/javaee7/jta/transaction/scope/MyBean.java |
22:30 |
|
whartung |
I don't see the difference between scenarios 1 and 2 |
22:33 |
|
* pdurbin2 |
looks at http://docs.oracle.com/javaee/7/api/javax/transaction/TransactionScoped.html |
22:35 |
|
pdurbin2 |
yeah, seems like JTA 1.2 is the new version: http://docs.oracle.com/javaee/7/tutorial/doc/overview008.htm |
22:35 |
|
whartung |
seems messy |
22:35 |
|
whartung |
using that stuff over EJB |
22:35 |
|
pdurbin2 |
they're talking JSF now... that new versions allow you to do file upload |
22:36 |
|
whartung |
Revolutionary! |
22:37 |
|
pdurbin2 |
<h:inputFile value="#{fileUploadBean.file}"/> at https://github.com/arun-gupta/javaee7-samples/blob/master/jsf/file-upload/src/main/webapp/index.xhtml |
22:37 |
|
pdurbin2 |
ajax version: https://github.com/arun-gupta/javaee7-samples/blob/master/jsf/file-upload/src/main/webapp/ajax-upload.xhtml |
22:38 |
|
pdurbin2 |
see also http://jsflive.wordpress.com/2013/04/23/jsf22-file-upload/ |
22:40 |
|
whartung |
yea I can't speak to anything jsf |
22:41 |
|
pdurbin2 |
on to JSF flow stuff: https://github.com/arun-gupta/javaee7-samples/blob/master/jsf/flows-simple/src/main/java/org/javaee7/jsf/flow/Flow1.java |
22:41 |
|
whartung |
whts jsf flow? |
22:42 |
|
pdurbin2 |
navigating between flows (config): https://github.com/arun-gupta/javaee7-samples/blob/master/jsf/flows-simple/src/main/webapp/flow1/flow1a.xhtml |
22:42 |
|
pdurbin2 |
whartung: imagine turbotax... you want people to back up and work on earlier parts |
22:42 |
|
pdurbin2 |
you want to allow them to skip around |
22:43 |
|
whartung |
wizard stuff |
22:43 |
|
pdurbin2 |
question from the audience: "Does the back button work?" :) |
22:43 |
|
whartung |
that's what I figured |
22:43 |
|
pdurbin2 |
yeah, wizard |
22:43 |
|
whartung |
heh yea, |
22:45 |
|
pdurbin2 |
on to "passthrough" in JSF: https://github.com/arun-gupta/javaee7-samples/blob/master/jsf/passthrough/src/main/webapp/index-after.xhtml |
22:45 |
|
whartung |
?? |
22:46 |
|
pdurbin2 |
"The Java EE 7 version of JSF (2.2) enables the definition of any arbitrary attributes, which are not going to be processed by the JSF runtime and directly passed to the browser." -- http://www.adam-bien.com/roller/abien/entry/jsf_2_2_and_html |
22:47 |
|
pdurbin2 |
in a couple of talks now they've mentioned bean-discovery-mode... annotated vs. all |
22:47 |
|
pdurbin2 |
on to JAX-RS: https://github.com/arun-gupta/javaee7-samples/tree/master/jaxrs |
22:48 |
|
pdurbin2 |
https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/jaxrs-client/src/main/java/org/javaee7/jaxrs/client/TestURLConnectionClient.java |
22:48 |
|
whartung |
I have to give you credit fro typing in these URLs pdurbin2 |
22:49 |
|
pdurbin2 |
heh |
22:49 |
|
pdurbin2 |
so that version was the old way. here's the newer, shorter way: https://github.com/arun-gupta/javaee7-samples/blob/master/jaxrs/jaxrs-client/src/main/java/org/javaee7/jaxrs/client/TestJAXRS2Client.java |
22:50 |
|
pdurbin2 |
whartung: it's not for you... it's for me... future me :) |
22:50 |
|
whartung |
no, sure, but just typing them in -- and accurately…from a slide -- bueno |
22:51 |
|
whartung |
you've seen me type -- I can't type my name |
22:53 |
|
pdurbin2 |
nope. like I said.. no slides :) "code is king" |
22:53 |
|
whartung |
ok |
22:53 |
|
whartung |
well, anything on the big screen up front is a "slide" |
22:53 |
|
pdurbin2 |
"lots of code and only code" -- https://twitter.com/arungupta/status/382258135139749888 |
22:53 |
|
pdurbin2 |
the best kind of talk :) |
22:57 |
|
pdurbin2 |
hmm. websocket demo but not sure where the code is |
22:58 |
|
pdurbin2 |
maybe this: https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/chat |
22:58 |
|
pdurbin2 |
ah ha, here's Lincoln's repo: https://github.com/lincolnthree/con4456-coding-ee-7-easy-easier |
22:59 |
|
pdurbin2 |
this one, I think: https://github.com/lincolnthree/con4456-coding-ee-7-easy-easier/blob/master/websocket-json/proprietary/src/main/java/org/example/websocket/proprietary/ChatServlet.java |
22:59 |
|
pdurbin2 |
talk over. riotous applause :) |
22:59 |
|
|
pdurbin2 left ##javaee |
23:00 |
|
whartung |
ncie :) |
23:00 |
|
whartung |
go arun |
23:17 |
|
|
pdurbin2 joined ##javaee |
23:18 |
|
pdurbin2 |
next session: What’s New with Bean Validation and Expression Language in Java EE 7 [BOF7696] https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7696 |
23:18 |
|
whartung |
nice |
23:18 |
|
pdurbin2 |
by https://twitter.com/reza_rahman |
23:31 |
|
pdurbin2 |
heh. "EL and BV... underrated in the buzz" |
23:32 |
|
whartung |
well, time to buzz it up then, eh? |
23:34 |
|
pdurbin2 |
heh |
23:34 |
|
pdurbin2 |
hmm, BV as a consumer of EL |
23:34 |
|
whartung |
yes |
23:35 |
|
whartung |
it evaluates EL for validation purposes |
23:35 |
|
pdurbin2 |
yeah |