greptilian logo

IRC log for #javaee, 2013-12-19

Please see http://irclog.greptilian.com/javaee for which days have been logged.

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:54 whartung Apparenlty Jersey in GF3 doesn't like @EJB notations being injected
01:01 sfisque are jersey beans managed?
01:02 whartung no, in fact the REST stuff doesn't even use the CDI injected stuff
01:03 whartung but the Jersey runtime sees them anyway, and, boom -- kittens everywhere
01:03 sfisque how could it.  it's in the servlet container, not the ee container
01:03 whartung actually, nothing everywhere -- it eats the exception and fails silently
01:03 sfisque servlets dont inject ejb.s so how could rest endpoints
01:03 whartung this is all in a war
01:03 sfisque dont matter
01:03 whartung of course they can
01:03 whartung you can put @EJB in a servlet
01:05 sfisque ah, 3.0 addition
01:05 sfisque i was going to say, when did they add that.  apparently 3.0
01:05 whartung they were there in 2.2 -- JEE 5 could inject @EJB in servlets, since they're managed objects
01:06 sfisque since when?  they have different threading models
01:07 sfisque servlets are completely contextless, you have no guarantee if a servlet instance is pooled or per request
01:07 sfisque or even shared
01:07 whartung no reason you can' inject a stateless EJB, and they have some other mechanism for stateful
01:07 whartung (even I barely have a grasp on stateful, frankly, neve ruse them)
01:08 sfisque i recall servlets not having injection in earlier versions of jboss 4.x and i think 5.0 didnt have it either
01:10 whartung nonetheless, in my case, the @EJB is in a normal bean, not even a servlet.
01:11 sfisque that will never work then
01:11 sfisque J N D I
01:11 whartung it DOES(did) work when the normal bean is @Injected
01:11 whartung it was great.
01:12 sfisque oh, so you're getting the management by having it promoted to a managed bean by injecting it.  you have to be careful with that.  there are rules on what types of objects can be promoted from pojo to "named" without explicitly naming it
01:13 cem_ joined ##javaee
01:13 whartung like what
01:13 cem_ konnichiwa sfisque
01:14 sfisque i do not remember specifics, but i remember there are explicit rules that govern injecting an "unnamed" object type
01:15 * sfisque waves to cem_
01:15 whartung I think I'll quit and go learn ruby
01:16 sfisque lolz
01:17 sfisque as for SFSBs, yeah, they're kind of niche now, with scoped CDI now.  you can hold session stuff in a session scoped named bean and just inject a SLSB for the TX support when needed
01:19 sfisque SFSBs are primarily still important when you need a strong lifecycle that spans sessions or container outages (SFSBs get auto serialized when passivated)
01:20 cem_ woooo EJB!
01:20 * cem_ hides
01:21 sfisque \o/
01:21 sfisque ejb pays my bills :-D
01:22 MegaMatt joined ##javaee
01:47 cem_ sfisque: did u get the ping ?
01:47 sfisque i did, but please do not use this channel for debugging your code
01:48 cem_ i was not debugging
01:48 sfisque if you're asking me if i got the ping, you're debugging
01:49 cem_ if i need can create my own channel :P
01:49 cem_ sfisque: thats a wrong logic
01:50 cem_ if i ask did u get pm or email that doesn mean i was debugging
01:51 [[thufir]] joined ##javaee
02:03 sfisque if you're asking, it means you are unsure of the outcome… aka.. debugging
02:04 sfisque if you want to be pedantic, we can say you were unit testing, which is still not something to do in this channel
02:08 cem_ lol thats soooooooo unlogical
02:08 cem_ its way of asking you never replied back
02:10 cem_ yep in internet am unsure of the outcome since it depends on lot of factors :/
02:12 sfisque it's tcp/ip.  you know what the outcome is.  you either get a clean TX, an error condition, or a timeout.  it's a pretty definite protocol.  as for the upper layers, you still have error states and timeouts being reported.  the only variable is the top level code of your app.  if there is uncertainty, you are either still testing or still debugging
02:14 cem_ lol ! again what if you dont get error status  that has happened many times to me in freenode
02:31 sfisque that does raise a question.  what is involved with creating a channel on freenode
02:34 cem_ sfisque: lets get back to my question!!
02:34 cem_ pm me
02:37 cem_ :(
02:49 cem_ thats it
02:49 cem_ sfisque
03:13 shanks joined ##javaee
03:15 pdurbin sfisque: it's not hard: http://crimsonfu.github.io/2012/02/06/crimsonfu-freenode-irc-channel-setup.html
03:23 sfisque yeah i already setup ##crossroads to do testing/debugging
03:23 pdurbin +1
03:24 sfisque http://freenode.net/policy.shtml#topicalchannels
03:27 sfisque so i've been thinking.  doing JMS over the cloud might be iffy (content switches, firewall rules, etc.) so i'm thinking i might do JMS internally on the node, and node <-> node will be some form of web endpoint that will proxy the jms T/Q's
03:31 pdurbin sfisque: is it more cloudy to use... um... zeromq? (is that still a thing?) or amqp?
04:09 sfisque the issue is you're talking about stuff transported on a port id that might get filtered or dropped over the public or semi private cloud.  port 80 and 8080 are generally wide open excepting content sniffing
04:10 sfisque if jms were a ubiquitous "external standard" i'd go vanilla jms + encrypted payload.  but jms is pretty much an internal ESB protocol
04:11 sfisque sort of like exposing REST vs. public JDBC
04:12 sfisque no one puts their db on the edge anymore.  it
04:12 sfisque it's back end and edge systems talk to it as proxies or agents
04:13 sfisque so i'm thinking i'll maintain that paradigm and use jms internally as an asynch PS T/Q system (since any EE container will provide it off teh shelf) and use something generic (REST/SOAP/json-web/whatever)
04:13 sfisque for node-to-node over the public cloud
04:16 sfisque so it would look something like this:
04:18 sfisque web UI -> pub event -> push to db / jms / ldap / etc. -> MDB intercepts pushes out over web protocol to subscribers —————————> subscriber web endpoint receives -> pushes to jms -> MDB intercepts, pushes to db / ldap / etc.
04:19 sfisque the long arrow is node -> node, so potentially over a very tenuous public cloud connection
06:30 sajjadg joined ##javaee
06:37 EmilyScott joined ##javaee
06:45 EmilyScott left ##javaee
06:48 AlexCzar joined ##javaee
06:54 dangertools joined ##javaee
06:54 dangertools joined ##javaee
06:59 neuro_sys joined ##javaee
07:18 neuro_sys morning
07:18 neuro_sys to the eurozone
08:14 neuro_sys joined ##javaee
09:04 weyer joined ##javaee
10:21 acuzio morning from the eurozone
10:27 tmichel joined ##javaee
10:40 kinabalu joined ##javaee
11:26 Quest joined ##javaee
11:35 sajjadg joined ##javaee
11:39 drspockbr joined ##javaee
11:55 acuzio Quest: Is that really you ? Is that your resume ?
11:55 Quest its  a guy in my x-company
11:55 Quest and its just all tease me by different things.
11:56 * Quest gets busy
11:56 neuro_sys iText amazes me, goddamn Pdfpcell
11:58 acuzio Quest: But the CV says - "JavaEE admin" - isnt that you ?
12:02 Emily[w] joined ##javaee
12:02 Emily[w] ermagerd
12:09 Quest acuzio yes. he is admin here
12:09 Quest acuzio do a /msg chanserv flags ##Javaee , iam not admin here
12:10 Quest iam just an operator
12:10 Quest though I and neuro own the channel
12:10 Quest any way. got to go
12:15 MegaMatt joined ##javaee
12:41 acuzio Operator is the same as Admin you should know that
12:43 Quest acuzio operator is +o or +O  admin is flag +F or +f . I call my self just an operator. I dont have +f right now. I just manage the channel because of interest.
12:43 Quest and I should not have to explaint he flags and channel internals if the stats are not visible to you by your self.
12:44 Quest you should know that
12:45 acuzio Quest: So you are not Masood Ahmad then ?
12:45 Quest I dont have +F right now. *
12:45 Quest does it matter?
12:45 acuzio Yes it does
12:45 Quest why?
12:45 acuzio Cause if you are not then people are making fun of someone who doesnt deserve it and Masood is owed an apology
12:46 Quest they will make fun in either case. so I dont care
12:46 Quest and I think Masood Ahmad also dont deserve to be made fun of
12:46 Quest its nothing bad in his CV
12:46 acuzio Nope they only make fun of Masood cause they think you are Masood
12:47 Quest they will make fun in either case. so I dont care
12:47 acuzio Nope they only make fun of Masood cause they think you are Masood
12:47 Quest they will make fun of *me* in either case. so I dont care
12:47 Quest they would find another way.
12:47 Quest can we stick to Java and Java EE ?
12:48 acuzio They will make fun of you for sure but not of Masood
12:48 acuzio If you are not Masood
12:48 Quest yes. thats what i said
12:48 acuzio If you are not Masood then Masood deserves an apology
12:48 Quest I can NOT waste further time on either Masood or the strategy of their's for making fun
12:49 acuzio Thats cause you are not Masood
12:49 acuzio So its fine
12:49 Quest acuzio sure you can email Masood for an apology if you want :)
12:49 acuzio Not me - i have done nothing
12:49 acuzio I am just curious
12:49 Quest I can see
12:49 acuzio Masood does have a stupid CV though
12:50 Quest like?
12:50 acuzio I dont know where to start
12:50 neuro_sys stil have the link to the CV?
12:50 neuro_sys CVs are fun
12:51 acuzio The formatting is wrong, there are spelling mistakes, no one puts their photo in there (especially if you look like that), the colouring is all wrong
12:51 acuzio neuro_sys: http://masoodahmad.com/resume/
12:51 neuro_sys trippy
12:51 acuzio Who puts their Father's name and their phone number in there
12:52 neuro_sys mother's maiden name is missing
12:52 neuro_sys a must
12:52 acuzio neuro_sys: LOL
12:54 acuzio I suspect Quest protests too much
12:56 neuro_sys you seem to have a lot of free time to pick on people :p
12:57 acuzio neuro_sys: yes
12:57 neuro_sys I like the part "developed and designed by me"
12:57 acuzio I love it
12:58 acuzio neuro_sys: re - time - it Xmas time, all bonuses are paid - so no one wants to do anything so its all quiet on the Western Front , we cant touch Prod either so its all good
12:58 acuzio I am only entertaining myself
12:59 neuro_sys It's busy here to go prod before Xmas in time. No bonuses whatsoever ever gets paid here. :<
13:00 acuzio :-)
13:29 drspockbr joined ##javaee
13:30 drspockbr joined ##javaee
13:59 conor_ireland joined ##javaee
14:02 pdurbin acuzio: please stop bullying Quest
14:02 acuzio pdurbin: i am not bullying him
14:24 cem_lordoftherin joined ##javaee
14:34 Naros joined ##javaee
14:35 cem_yo joined ##javaee
14:38 sheenobu joined ##javaee
14:38 sheenobu joined ##javaee
14:39 cem_yo left ##javaee
14:42 EM joined ##javaee
14:42 EM hi
14:42 Naros hello
14:43 EM k why was i blocked
14:43 conor_ireland left ##javaee
14:43 Naros Unfortunately, I do not know.
14:44 EM hi Emily[w]
14:47 Emily[w] hi cem_soccer
14:47 cem_soccer whats up Emily? are you new to IRC ?
14:50 Naros anyone here have much experience with Spring?  I've got a bean issue that for the life of me I cannot seem to understand.
14:51 Emily[w] cem_soccer: nope
15:00 cem_soccer just sawed the IRC log its great is that Quest san ?
15:01 * cem_soccer learning English
15:03 cem_soccer K i have merged 2 image and dont know how to get the 2 image back using java
15:03 cem_soccer can anyone help me out ?
15:05 cem_soccer Naros ?
15:05 cem_soccer sfisque ?
15:11 cem_soccer and thanks for the link neuro_sys
15:11 cem_soccer or acuzio
15:14 Emily[w] cem_soccer: merged how?
15:15 sajjadg joined ##javaee
15:15 cem_soccer i have put the contents of 1 file to another
15:15 cem_soccer Emily[w]
15:15 Emily[w] you'd have to explain more
15:16 cem_soccer Emily[w] what you want to know
15:16 cem_soccer since your asking question
15:17 Emily[w] putting the contents of one file into another has little meaning. Did you overwrite the file or append to it?
15:17 cem_soccer append
15:18 Emily[w] then you just read the contents of the file with the offset being the length of the original file
15:22 cem_soccer to say precisly its overlayed 1 on another
15:26 hackyo joined ##javaee
15:28 cem_soccer precisely*
15:30 cem_soccer k after googling for 5 hours just stumbled upon it
15:30 cem_soccer thanks guys
15:31 cem_soccer left ##javaee
15:31 drspockbr1 joined ##javaee
15:45 jieryn joined ##javaee
15:46 jieryn is there a way i can get a @Resource(type=String) which can be defined via System Property OR container Context OR default value ?
15:50 AlexCzar joined ##javaee
16:15 huhlig joined ##javaee
16:41 pdurbin helpful: http://stackoverflow.com/questions/4823216/jsf-2-0-form-using-get/4823289#4823289
16:44 cem_ joined ##javaee
16:44 cem_ Active user of technical chat channels in IRC. Channel ##JavaEE admin ?
16:46 cem_ he must have mentioned freenode
16:47 cem_ he is awesome !
17:09 MegaMatt joined ##javaee
17:31 Sircle joined ##javaee
17:32 Sircle acuzio: Hello
17:32 acuzio Sircle: hello
17:33 Guest6933 joined ##javaee
17:34 Sircle My name is Masood Ahmad and the said resume link several times in Java related channels is mine. I used to be a co-worker with Mr. Quest.
17:34 acuzio A twist in the tale eh
17:37 acuzio Wow
17:37 acuzio so you are the famous Masood Ahmad and Mr.Quest is a different entity
17:48 sfisque joined ##javaee
17:51 Guest6933 left ##javaee
17:53 cem_ joined ##javaee
18:12 sajjadg joined ##javaee
18:53 sajjadg joined ##javaee
18:57 Fubar^ joined ##javaee
19:06 cem___ Sircle was admin :(
19:09 sess joined ##javaee
19:09 cem___ i like your projects Sircle
19:17 sfisque general irc op question.  is tehre a way to signal to chanserv to auto op me in a channel i own or do i have to script it on my side or use a bot?
19:24 cem___ Sircle: is this a project ?(the student project) more like hello world ?
19:26 cem___ but rest is nice :)
19:38 * cem___ most of thing i didnt understand :P sorry Sircle
19:39 cem___ although you do only in java :/
19:43 sajjadg joined ##javaee
20:00 kinabalu joined ##javaee
20:10 trollolol joined ##javaee
21:05 semiosis sfisque: chanserv is not standard irc service, it's a freenode thing.  see http://freenode.net/using_the_network.shtml for info
21:06 semiosis sfisque: from that link, "We strongly suggest that you avoid configuring your channel to "auto-op". Use the chanserv "op" command to obtain channel operator status only when needed."
21:08 sfisque aye.  i guess i can script it into my client then.  i was hoping to make it more centralized and fault tolerant
21:13 semiosis sfisque: why do you want to always have ops?  isn't it enough to just op yourself when you need to do op things?
21:13 semiosis thats what most people do
21:15 sfisque my feeling is, if i need to op, it's something that needs to be handled asap, aka someone's being a tool and needs to be KBed.  having to type preflight commands to make that happen could prevent it from happening timely.
21:15 sfisque it's not that i 'need' it.  i'm just looking for "convenience"
21:15 sfisque <—— lazy, in the "larry wall" kind of way.  i want the machine to do all the work
21:20 semiosis in #gluster we have glusterbot who has op from chanserv, then a select few of us can tell the bot to kick people
21:20 semiosis super lazy :)
21:33 sfisque nifty
21:54 neuro_sys joined ##javaee
21:54 neuro_sys joined ##javaee
22:18 neuro_sys joined ##javaee
22:18 neuro_sys joined ##javaee
22:28 MegaMatt joined ##javaee

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Please see http://irclog.greptilian.com/javaee for which days have been logged.