| Time |
S |
Nick |
Message |
| 02:48 |
|
aditsu |
I have no such problems with jetty and wicket, but I have no idea about glassfish and jsf |
| 02:49 |
|
pdurbin |
yeah |
| 02:51 |
|
aditsu |
the Initializer.class.getResourceAsStream returning null is really weird |
| 04:53 |
|
|
Richard_2340985 joined ##friendlyjava |
| 05:18 |
|
Richard_2340985 |
Initializer.class.getResourceAsStream("/de/name/Users.java") does not return null |
| 05:20 |
|
Richard_2340985 |
just like Initializer.class.getResourceAsStream("Users.java") |
| 05:41 |
|
aditsu |
uh.. that's weird too, java source files have no business being in the classpath |
| 05:43 |
|
Richard_2340985 |
I use the primefaces-extensions showcase |
| 05:44 |
|
Richard_2340985 |
this is used so that they can show the code on the website |
| 05:44 |
|
aditsu |
no idea what that is :p |
| 05:44 |
|
aditsu |
hmm ok |
| 05:44 |
|
Richard_2340985 |
http://www.primefaces.org/showcase-ext/views/home.jsf |
| 05:45 |
|
Richard_2340985 |
I think it's because of the maven-resources-plugin - they copy the files |
| 05:48 |
|
Richard_2340985 |
but I just had the idea of trying to use their function |
| 05:48 |
|
Richard_2340985 |
ShowcaseUtil.getFileContent |
| 05:49 |
|
Richard_2340985 |
maybe it's also a cache issue... |
| 05:51 |
|
Richard_2340985 |
<ui:define name="contentTab2"> |
| 05:51 |
|
Richard_2340985 |
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/AjaxErrorHandlerController.java')} |
| 05:51 |
|
Richard_2340985 |
</ui:define> |
| 05:51 |
|
Richard_2340985 |
this is how they use it |
| 05:52 |
|
Richard_2340985 |
<function> |
| 05:52 |
|
Richard_2340985 |
<function-name>getFileContent</function-name> |
| 05:52 |
|
Richard_2340985 |
<function-class>org.primefaces.extensions.showcase.util.ShowcaseUtil</function-class> |
| 05:52 |
|
Richard_2340985 |
<function-signature>java.lang.String getFileContent(java.lang.String)</function-signature> |
| 05:52 |
|
Richard_2340985 |
</function> |
| 05:52 |
|
Richard_2340985 |
that is in the taglib |
| 05:53 |
|
Richard_2340985 |
but this does not work: String document = ShowcaseUtil.getFileContent("/org/primefaces/extensions/showcase/controller/AjaxErrorHandlerController.java"); |
| 05:53 |
|
aditsu |
better use a pastebin; anyway, I doubt I can help much, and I gotta go soon |
| 05:54 |
|
Richard_2340985 |
yeah, I think I put that into stackoverflow |
| 07:19 |
|
|
aditsu joined ##friendlyjava |
| 08:39 |
|
|
aditsu joined ##friendlyjava |
| 11:26 |
|
pdurbin |
aditsu: you've got me wondering if any of your jetty/wicket projects are open source |
| 11:27 |
|
aditsu |
pdurbin: hmm... not currently |
| 11:27 |
|
pdurbin |
aditsu: you could make a website for this channel! :) |
| 11:49 |
|
aditsu |
pdurbin: hmm, but why would I need a web application rather than a static site? |
| 11:53 |
|
pdurbin |
so I can see the difference between glassfish/jsf and jetty/wicket :) |
| 12:07 |
|
|
philbot joined ##friendlyjava |
| 12:07 |
|
|
Topic for ##friendlyjava is now Be friendly :) This channel is publicly logged at http://irclog.greptilian.com/friendlyjava/today |
| 12:19 |
|
aditsu |
pdurbin: tell you what: let's each implement a simple web application, such as a basic phonebook, using our preferred technologies, and compare :) |
| 12:20 |
|
|
firebird1 joined ##friendlyjava |
| 12:21 |
|
aditsu |
we should agree on the user interface and database structure, and keep it as simple as we can |
| 12:42 |
|
pdurbin |
sort of like http://todomvc.com |
| 12:43 |
|
pdurbin |
aditsu: does it have to be our preferred technologies? how about the technologies we're actively using? :) |
| 12:43 |
|
aditsu |
pdurbin: your choice, for me they're the same thing |
| 12:44 |
|
pdurbin |
:) |
| 12:44 |
|
pdurbin |
must be a good place to be |
| 12:45 |
|
pdurbin |
aditsu: would you use JPA? |
| 12:46 |
|
aditsu |
nope, I'd use depeche (my own library) |
| 12:46 |
|
aditsu |
which is open-source |
| 12:46 |
|
pdurbin |
hmm |
| 12:47 |
|
pdurbin |
Java 7 or Java 8? |
| 12:47 |
|
pdurbin |
(I'm just trying to figure out the common ground.) |
| 12:47 |
|
aditsu |
I'm actually still coding for java 6 most of the time :p |
| 12:48 |
|
pdurbin |
ok. I'd probably use Java 7 |
| 12:48 |
|
pdurbin |
Maven or Ant? |
| 12:48 |
|
aditsu |
fine; ant here (I also use ivy) |
| 12:49 |
|
pdurbin |
PostgreSQL, MySQL, Derby, or SQlite? |
| 12:50 |
|
aditsu |
I prefer pg |
| 12:50 |
|
pdurbin |
me too |
| 12:50 |
|
pdurbin |
common ground! :) |
| 12:50 |
|
aditsu |
yay :) |
| 12:51 |
|
pdurbin |
well, for this kind of thing I'd be happy to use SQLlite but I haven't figured out how to use SQLlite with JPA |
| 12:51 |
|
pdurbin |
anybody here know how? |
| 12:51 |
|
pdurbin |
aditsu: does depeche support SQLite? |
| 12:52 |
|
aditsu |
I can use sqlite with depeche, but its jdbc driver is kinda shoddy so some features may not work very well |
| 12:52 |
|
aditsu |
or at least that was the case last time I looked into it |
| 12:53 |
|
pdurbin |
I wonder if JPA uses the same driver. |
| 12:54 |
|
aditsu |
todomvc is not loading... |
| 12:54 |
|
pdurbin |
I know! What a bummer. |
| 12:55 |
|
pdurbin |
for now you'll have to look at https://github.com/tastejs/todomvc |
| 12:55 |
|
aditsu |
oh yeah, iirc there were 2 drivers for sqlite, in various stages of desolation |
| 12:55 |
|
pdurbin |
heh, exactly |
| 14:02 |
|
aditsu |
so... eclipse's "apply patch" says that the file I'm looking at does not exist |
| 14:35 |
|
pdurbin |
patching the driver, I take it |
| 14:36 |
|
aditsu |
you mean the previous discussion? no, unrelated |
| 14:39 |
|
pdurbin |
oh |
| 14:40 |
|
pdurbin |
carry on :) |
| 15:02 |
|
|
firebird1 joined ##friendlyjava |
| 15:47 |
|
|
aditsu joined ##friendlyjava |
| 15:54 |
|
firebird1 |
hey aditsu |
| 15:55 |
|
aditsu |
yo |
| 17:03 |
|
|
aditsu joined ##friendlyjava |
| 21:31 |
|
|
Richard_2340985 joined ##friendlyjava |
| 22:00 |
|
|
Omnipot joined ##friendlyjava |