Time |
S |
Nick |
Message |
01:54 |
|
|
talvdav joined ##friendlyjava |
05:25 |
|
mr_lou |
Morning! |
07:13 |
|
|
noreason joined ##friendlyjava |
07:13 |
|
noreason |
my question is when i change jsp i dont need to restart but on change of servlet need to restart , how to change the default configuration for tomcat ? |
07:13 |
|
noreason |
aditsu |
07:14 |
|
noreason |
pdurbin |
07:16 |
|
aditsu |
noreason: I think you can only achieve that by running the server in debug mode and doing hot code swapping; an IDE such as eclipse can help with that |
07:18 |
|
aditsu |
I usually run jetty (embedded) in debug mode during development, and many code changes are reflected immediately |
07:19 |
|
noreason |
aditsu what about on production |
07:19 |
|
noreason |
i struggled like more than 10 times when my client asked for changes |
07:19 |
|
aditsu |
in production I need to redeploy |
07:19 |
|
noreason |
why |
07:20 |
|
noreason |
why we cant do hot code swappin |
07:20 |
|
aditsu |
I suppose you could do it if you run it in debug mode, I never tried |
07:20 |
|
aditsu |
but some changes require restarting the application anyway |
07:21 |
|
noreason |
since jsp turn to java file (servlet) than .class file |
07:21 |
|
aditsu |
also, if you keep fiddling with the application in production, you're likely to cause a lot of problems; better to change it locally, test then deploy |
07:21 |
|
noreason |
i want same thing to happen for servlet in production |
07:22 |
|
noreason |
i mean IT! |
07:23 |
|
* noreason |
aditsu why this question is not answered correctly in SO :/ |
07:23 |
|
aditsu |
I don't know, I don't control SO :p |
07:24 |
|
aditsu |
I don't even know if it's answered |
07:28 |
|
noreason |
why they give timestamp for jsp and avoid it for servlet ? |
07:28 |
|
noreason |
any clue aditsu ? |
07:29 |
|
aditsu |
what timestamp? |
07:29 |
|
noreason |
jsp change detected by classloader |
07:32 |
|
|
mr_lou joined ##friendlyjava |
07:32 |
|
aditsu |
well, jsp's are designed to be compiled at runtime |
07:33 |
|
* noreason |
hi mr_lou |
07:33 |
|
noreason |
thats weird |
07:35 |
|
aditsu |
it's just like being interpreted, except there's an extra compilation step |
07:45 |
|
noreason |
<tomcat channel>they have said to turnoff jsp changes checker since it checks when you request every time |
07:45 |
|
noreason |
http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html |
07:46 |
|
noreason |
they said same thing in SO :| |
07:47 |
|
* noreason |
SO is awesome , its great to be part of it :) |
07:51 |
|
noreason |
mr_lou to what all the language you work On ? |
07:51 |
|
noreason |
my english is bad |
07:52 |
|
mr_lou |
Yes it is.... |
07:52 |
|
mr_lou |
I don't know what you're asking. |
07:55 |
|
noreason |
what all the language you work On ? mr_lou |
07:57 |
|
|
oreason1 joined ##friendlyjava |
07:58 |
|
oreason1 |
mr_lou -- mr_love :P just kiddin |
07:59 |
|
oreason1 |
i'm, out ill be back with doubts |
08:14 |
|
|
oreason1 left ##friendlyjava |
12:50 |
|
pdurbin |
new java podcast: http://virtualjug.com/podcast/ |
12:50 |
|
pdurbin |
VirtualJUG » Java Council Episode #1 - http://virtualjug.com/java-council-episode-1/ |
12:58 |
|
mr_lou |
That's like awesometastic! Because.... Java is awesome and podcasts are fantastic! |
13:01 |
|
aditsu |
oh wow, somebody other than pdurbin actually likes podcasts :) |
13:02 |
|
pdurbin |
aditsu: I can't tell if mr_lou is making fun of me but I can link to more Java podcasts if there's interest :) |
13:13 |
|
mr_lou |
hehe |
13:14 |
|
mr_lou |
No, not making fun. |
13:14 |
|
mr_lou |
Just being geeky. |
13:18 |
|
pdurbin |
hmm, this is out of date: http://wiki.greptilian.com/java/podcasts |
13:18 |
|
pdurbin |
I'll update it in a bit. |
13:44 |
|
|
noreason joined ##friendlyjava |
13:44 |
|
noreason |
Vwllo |
13:46 |
|
noreason |
k my question is i want to get the content from xls or xlsx file put the content to db <yep with validating> |
13:46 |
|
noreason |
aditsu |
13:46 |
|
noreason |
any idea |
13:48 |
|
aditsu |
use poi |
13:49 |
|
aditsu |
and your preferred db library |
13:50 |
|
aditsu |
btw, I have some code that integrates depeche and poi, but I haven't published it |
14:11 |
|
noreason |
any tutorial you recommend on poi ? |
14:14 |
|
aditsu |
they have some examples on their website |
14:16 |
|
aditsu |
let me find something.. |
14:16 |
|
aditsu |
noreason: you can probably start from https://poi.apache.org/spreadsheet/quick-guide.html |
14:17 |
|
noreason |
r they joking tooo big code just to upload the xlsx and extract |
14:18 |
|
noreason |
no its segmented |
14:18 |
|
noreason |
coool |
14:44 |
|
noreason |
so now i need to validate and business validate |
14:44 |
|
noreason |
before i do something cool |
15:22 |
|
noreason |
who made things this stupid aditsu |
15:22 |
|
noreason |
ill be back |
15:22 |
|
|
noreason left ##friendlyjava |
15:22 |
|
aditsu |
¯\(o_º)/¯ |
15:29 |
|
mr_lou |
:-> |
21:25 |
|
pdurbin |
hearing good things about Effective Java (2nd Edition): Joshua Bloch: 8601300201986: Amazon.com: Books - http://www.amazon.com/dp/0321356683/ref=cm_sw_su_dp |
21:25 |
|
pdurbin |
at http://virtualjug.com/java-council-episode-1/ |
21:25 |
|
pdurbin |
it's the first book they're reading: http://virtualjug.com/book-club/ |
21:33 |
|
pdurbin |
has anyone here read it? |
21:39 |
|
pdurbin |
huh. a REPL for Java: [#JDK-8043364] JEP 222: Java Read-Eval-Print Loop (REPL) - Java Bug System - https://bugs.openjdk.java.net/browse/JDK-8043364 |