Re: why not tomee?

2012-10-27 Thread Jacek Laskowski
On Wed, Oct 24, 2012 at 1:33 AM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 1) the datasource pool config is better

I can support this opinion as I wish Tomcat's Resources should be
supported which glancing at the code are not (the XML format is
different from what Assembler expects).

 2) remote ejb

I'll add a slide and demo for this, but given the time constraints (50
minutes) it's nearly impossible to talk about TomEE+ in general and do
demos afterwards. Tried it twice in a row - for JDD last Thursday and
today on JavaDay in Kiev - and almost found time for the stuff I speak
about now. Gotta be faster I believe, but it could be for less
understanding of the audience.

 3) rest
 4) soap webservices

Did these with the help of Dave's Awesome example. It's always fun to
see people's faces when they see @WebService and @Path working in
TomEE.

 5) timer

Could you elaborate more on the feature and how you'd like to demo it?
I appreciate and would show it in the other two conferences where I'm
speaking about TomEE.

I fully agree we should differentiate TomEE from the rest so we're
uncomparable and perhaps unbeatable :)

Jacek

-- 
Jacek Laskowski
Functional languages (Clojure), Java EE, and IBM WebSphere -
http://blog.japila.pl
Never discourage anyone who continually makes progress, no matter how
slow. Plato


Re: Call for Papers for ApacheCon Europe 2012 now open!

2012-07-20 Thread Jacek Laskowski
On Fri, Jul 20, 2012 at 1:11 PM, Jean-Louis MONTEIRO jeano...@gmail.com wrote:
 FYI
 We cannot afford to not submit a TomEE talk IMO

Indeed! It also aligns well with my checking out the recent changes
around OSGification of OpenEJB with KarafEE. That's something that
drives me towards thinking about ApacheCON. Let's think about it for
the coming weeks. The date is on August, the 3rd. Time for some fun!

Jacek

-- 
Jacek Laskowski
Functional languages (Clojure), Java EE, and IBM WebSphere -
http://blog.japila.pl
Never discourage anyone who continually makes progress, no matter how
slow. Plato


Additional '/' (slash) in Home » Examples Trunk

2012-02-08 Thread Jacek Laskowski
Hi,

I've just been told that there's an additional slash in Home »
Examples Trunk - see the breadcramb trail at
http://openejb.apache.org/examples-trunk/. How can it be fixed?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Fwd: Mandatory svnpubsub migration by Jan 2013

2012-02-08 Thread Jacek Laskowski
Hi,

I'm sure many have already received it as well, but still...should we
be concerned with the upcoming change?

Jacek

-- Forwarded message --
From: Joe Schaefer joe_schae...@yahoo.com
Date: Wed, Feb 8, 2012 at 1:26 PM
Subject: Mandatory svnpubsub migration by Jan 2013
To: Apache Infrastructure infrastruct...@apache.org


[PLEASE DO NOT RESPOND TO THIS POST! DIRECT ALL FURTHER
INQUIRIES TO infrastruct...@apache.org]

FYI: infrastructure policy regarding website hosting has
changed as of November 2011: we are requiring all websites
and dist/ dirs to be svnpubsub or ASF CMS backed by the end of 2012.
If your PMC has already met this requirement congratulations,
you can ignore the remainder of this post.

As stated on http://www.apache.org/dev/project-site.html#svnpubsub
we are migrating our webserver infrastructure to 100% svnpubsub
over the course of 2012.  If your site does not currently make
use of this technology, it is time to consider a migration effort,
as rsync-based sites will be PERMANENTLY FROZEN in Jan 2013 due

to infra disabling the hourly rsync jobs.  While we recommend
migrating to the ASF CMS [0] for Anakia based or Confluence based
sites, and have provided tooling [1] to help facilitate this,
we are only mandating svnpubsub (which the CMS uses itself).

svnpubsub is a client-server system whereby a client watches an
svn working copy for relevant commit notifications from the svn
server.  It subsequently runs svn up on the working copy, bringing
in the relevant changes.  sites that use static build technologies
that commit the build results to svn are naturally compatible with
svnpubsub; simply file a JIRA ticket with INFRA to request a
migration: any commits to the resulting build tree will be

instantly picked up on the live site.


The CMS is a more elaborate system based on svnpubsub which
provides a webgui for convenient online editing.  Dozens of
sites have already successfully deployed using the CMS and
are quite happy with the results.  The system is sufficiently
flexible to accommodate a wide variety of choices regarding
templating systems and storage formats, but most sites have
standardized on the combination of Django and Markdown.  Talk
to infra if you would like to use the CMS in this or some other
fashion, we'll see what we can do.


NOTE: the policy for dist/ dirs for managing project releases is
similar.  We have setup a dedicated svn server for handling this,
please contact infra when you are ready to start using it.


HTH


[0]: http://www.apache.org/dev/cms
[1]: https://svn.apache.org/repos/infra/websites/cms/conversion-utilities/



-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Additional '/' (slash) in Home » Examples Trunk

2012-02-08 Thread Jacek Laskowski
On Wed, Feb 8, 2012 at 1:43 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 think you need to perl here:
 http://svn.apache.org/repos/asf/openejb/site/trunk/lib/view.pm

Ouch, that's too much to digest for me. Would anyone take care of
finding the right place for the change? I doubt I could do it in a
reasonable timeframe.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: hi there openejb

2011-12-25 Thread Jacek Laskowski
On Sun, Dec 25, 2011 at 2:41 PM, Daniel Siwiec daniel.siw...@gmail.com wrote:

 I'd like to start with something small, as suggested in the dev guide.
 Since I'm planning to walk through all the examples to get familiar with
 the codebase a bit, I was thinking about refactoring tests to use junit 4.x
 annotations instead of extending TestCase. What do you guys think? Isn't
 that too small? :) Maybe some other/better ideas to get involved?

Witaj w projekcie, Daniel! The project needs some Polish'ing :)

If you think junit 4.x would make the codebase a joy to work with, I'd
say go for it. It's said that after weeks of working with a code, one
can find it tougher to find low-hanging fruits for newcomers as it's a
matter of knowledge and style one has already acquired.

Run the examples and let us know how they go. Check their docs [1] out
and ensure they're suitable for newcomers. It should bring you much
joy before delving into the codebase.

[1] http://openejb.apache.org/examples-trunk/index.html

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Author tags

2011-12-18 Thread Jacek Laskowski
On Sun, Dec 18, 2011 at 10:36 PM, David Blevins david.blev...@gmail.com wrote:

 Here it is if anyone wants to do something similar:

 http://svn.apache.org/repos/asf/incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Deauthorize.java

I must admit that the class is written in a very clever way - it's so
addicted that I almost began its remembering. Thanks for sharing it.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Author tags

2011-12-18 Thread Jacek Laskowski
On Sun, Dec 18, 2011 at 11:20 PM, Jacek Laskowski ja...@japila.pl wrote:

 I must admit that the class is written in a very clever way - it's so
 addicted that I almost began its remembering. Thanks for sharing it.

s/addicted/addictive

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Author tags

2011-12-15 Thread Jacek Laskowski
On Thu, Dec 15, 2011 at 3:24 AM, David Blevins david.blev...@gmail.com wrote:
 We generally don't use them, though we've never really had a formal policy.  
 I suspect we should just yank them.

 Otherwise I have to go and add @author David Blevins to a whole lot of 
 files.

 Will yank them tomorrow unless someone speaks up.

I was about to ask about it :) Romain is so active I can hardly follow
his change stream and...he keeps banging about it.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [Proposition] : New maven module - OpenEJB - Karaf

2011-12-15 Thread Jacek Laskowski
On Wed, Dec 14, 2011 at 12:43 PM, Charles Moulliard
cmoulli...@gmail.com wrote:

 2) OSGI Code
      OpenEjb(Un)Deployer = Bundle activator allowing to deploy EJB
...
      OpenEJbOsgiServer = Bundle activator which will start/stop
...
 What do you think about that ?

Doh. YATIMTDBF*

Why don't we use OSGi Blueprint? It's much easier and really hides all
the complexities of dynamicity of OSGi and would bring more hands
working on the code (when the lurkers notice close resemblance to
spring framework all love and hate :)) I'd love to give it a shot, but
the closer I am to it, the more other tasks crop up.

[*] Yet Another Task I Means To Do But Failed

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [Proposition] : New maven module - OpenEJB - Karaf

2011-12-15 Thread Jacek Laskowski
On Wed, Dec 14, 2011 at 1:08 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 as already discussed on IRC,

I'm gonna join the future sessions as I seem to miss them a lot!

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [Proposition] : New maven module - OpenEJB - Karaf

2011-12-15 Thread Jacek Laskowski
On Thu, Dec 15, 2011 at 9:31 AM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 IMHO we should work with blueprint but it shouldn't be mandatory...at least
 from a user point of view (i mean the user can be able to deploy an
 ejbmodule as a bundle).

 I don't know so much about blueprint so maybe my previous sentence doesn't
 make so sense. If it is the case simply ignore it ;)

Ignored :)

It's the same situation when OSGi is embraced for its modularity to
build application server foundation with no change for an end user. It
was the case for WAS 6.1 and 7.0 (with Feature Pack), and JBoss AS,
GlassFish before they exposed it as another framework to build
enterprise apps with. Blueprint doesn't preclude using a pure OSGi (if
I'm even allowed to claim there's a pure OSGi). It's still OSGi, but
with some goodies that help dealing with dynamicity you may have
suffered from in activators, tracers or similar.

I hope to show a simple change soon. Don't worry about it for now.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [REQUEST] Enable our builds for Sonar analysis

2011-12-13 Thread Jacek Laskowski
+1

Jacek

On Fri, Nov 25, 2011 at 10:07 AM, dsh daniel.hais...@googlemail.com wrote:
 Hi,

 any objections if I am going to file a JIRA to have INFRA setup Sonar
 builds via analysis.apache.org for us as described at [1]?

 Request Template:

 * svnurl : https://svn.apache.org/repos/asf/openejb/trunk/openejb/
 * pom path : (blank as svnurl/pom.xml)
 * maven versio : 3.0.3
 * jdk version : jdk1.6
 * maven profiles to use : (leave blank if none, if profiles to
 activate please use comma : foo,bar )
 * maven build properties : (leave blank if none, if some to activate
 please format : -Dmyprop=foo -Dbar=beer )

 [1] http://wiki.apache.org/general/SonarInstance

 Cheers
 Daniel



-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: protocol metadata

2011-12-05 Thread Jacek Laskowski
On Mon, Dec 5, 2011 at 4:58 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 should we have a 4.0 compatible with 3.1?

Why not provided there's some code incompatibilities. I consider both
versions different.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [VOTE] Vishwanath Krishnamurthi as committer

2011-12-02 Thread Jacek Laskowski
+1

Jacek

On Wed, Nov 30, 2011 at 11:35 AM, Jean-Louis MONTEIRO
jeano...@gmail.com wrote:
 All is in the subject :)

 Vishwa has been very active to enhance our documentation and to create our
 brand new website.
 He also contributed some examples, etc.

 Vote will be open for at least 72 hours (usually more).  As always anyone is
 welcome to vote.

 Here's my +1

 Jean-Louis

 --
 View this message in context: 
 http://openejb.979440.n4.nabble.com/VOTE-Vishwanath-Krishnamurthi-as-committer-tp4122496p4122496.html
 Sent from the OpenEJB Dev mailing list archive at Nabble.com.



-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF)

2011-11-27 Thread Jacek Laskowski
On Sun, Nov 27, 2011 at 9:49 AM, Mohammad Nour El-Din mn...@apache.org wrote:

 So I would like to propose OpenEJB as one of the TLP(s) to start with, and
 I already was in contact with Paul Davis and I can and I will help in that
 transition.

At long last! I've been dreaming about it for ages, but since I'm not
an active committer, I won't prove Git's usefulness. I know ASF
transitioned to git - http://git.apache.org/, but This is a
collection of read-only Git mirrors of Apache codebases. What do I
need to do to use git in write mode?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn propchange: r1206220 - svn:log

2011-11-27 Thread Jacek Laskowski
On Sun, Nov 27, 2011 at 9:03 PM,  jlaskow...@apache.org wrote:
 Author: jlaskowski
 Revision: 1206220
 Modified property: svn:log

 Modified: svn:log at Sun Nov 27 20:03:38 2011
 --
 --- svn:log (original)
 +++ svn:log Sun Nov 27 20:03:38 2011
 @@ -1,2 +1,4 @@
 -Patch from cmoulliard
 -Mostly indent and organize imports here
 +OPENEJB-1713 OpenEJB OSGI generates a NPE when no EJB jars / bundles are 
 found
 +
 +Submitted by cmoulliard
 +No more System.out's, indent and imports

Hoping to get it linked from JIRA. It doesn't seem to be working at
the moment, but the number was what made it worked fine in the past.
Did it change lately?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: buildbot failure in ASF Buildbot on openejb-trunk-ubuntu

2011-11-23 Thread Jacek Laskowski
On Tue, Nov 22, 2011 at 1:20 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 don't worry, it is not you.

 if you look the history this test works, doesn't work, works, 

Thanks Romain! It does help a lot! I was losing faith in my
programming skills...

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: buildbot failure in ASF Buildbot on openejb-trunk-ubuntu

2011-11-22 Thread Jacek Laskowski
On Tue, Nov 22, 2011 at 10:34 AM,  build...@apache.org wrote:
 The Buildbot has detected a new failure on builder openejb-trunk-ubuntu while 
 building ASF Buildbot.
 Full details are available at:
  http://ci.apache.org/builders/openejb-trunk-ubuntu/builds/1443

 Buildbot URL: http://ci.apache.org/

 Buildslave for this Build: hemera_ubuntu

Ouch. It must be me, but I don't see where I made the failure in the
code. The build passed on my machine. I'll revert the change unless I
find a solution - more tests needed I believe and I've just finished a
session about TDD :-) I'm all set to write more tests. I do hope it
won't cause any damage in your development.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Site homepage style changes [Preview]

2011-11-20 Thread Jacek Laskowski
On Sun, Nov 20, 2011 at 12:15 AM, David Blevins david.blev...@gmail.com wrote:
 I'm not sure about the changes, but I a really big fan of the person who made 
 them :)  Maybe we should discuss making Vishwa a committer?

Good point! I should've proposed him myself...my +1.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Site homepage style changes [Preview]

2011-11-17 Thread Jacek Laskowski
On Thu, Nov 17, 2011 at 7:41 PM, stratwine tovishwan...@gmail.com wrote:

 What do you think ?

It looks fine to me. I'd vote for it.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: File Jiras (Re: svn commit: r1201530)

2011-11-14 Thread Jacek Laskowski
On Mon, Nov 14, 2011 at 5:33 PM, David Blevins david.blev...@gmail.com wrote:
 Reminder that we use JIRA to generate the release notes, so don't forget to 
 add JIRAs for anything users will want to know about.

I meant to chime in on this as well and you beat me to it! :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Final release thoughts

2011-11-06 Thread Jacek Laskowski
On Sat, Nov 5, 2011 at 10:23 PM, David Blevins david.blev...@gmail.com wrote:

 Here's what I think we'd need to see before a final release:

  - New website (done!!)
  - https://issues.apache.org/jira/browse/TOMEE-37
  - Passing TCK (or close) with the TOMEE-37 deployer

I'd add a few things I spot on while working with NetBeans. I found a
couple of issues that are easily fixed manually, but would love having
it fixed on our side. I'll report them soon - after Tue, so it's
sooner than the beginning of the year. I think I'll find more time
on tomee, too. FInger crossed.

BTW, have a look at http://www.eclipse.org/Xtext/xtend/. They too
chose the template :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: New OpenEJB website -- do we like it?

2011-11-02 Thread Jacek Laskowski
On Wed, Nov 2, 2011 at 8:06 AM, David Blevins david.blev...@gmail.com wrote:

 Do we like it enough to give it try on the main site?

Absolutely! +1 for its public showcase.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: New OpenEJB website

2011-10-27 Thread Jacek Laskowski
On Thu, Oct 27, 2011 at 8:38 AM, David Blevins david.blev...@gmail.com wrote:

 Took a shot at using bootstrap in the CMS.

  http://openejb.staging.apache.org/index.html
  http://openejb.staging.apache.org/documentation.html

I must admit that the new layout is astounding! It's clean and fresh.
I'd be very happy to have it as a default layout for the website.
Thanks Dave for your hard work. So much to learn to keep your pace.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: New OpenEJB website

2011-10-21 Thread Jacek Laskowski
On Fri, Oct 21, 2011 at 6:30 PM, Jean-Louis MONTEIRO jeano...@gmail.com wrote:
 Here is the html rendering in staging.

 http://openejb.staging.apache.org/index.html

Sorry to say so, but I don't like the new layout. It's a bit too soft
and no eye-catching features make it a little too boring. OpenEJB is
written as a two-word phrase :( I think I would like it with more
intensive colors and round corners.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: New OpenEJB website

2011-10-21 Thread Jacek Laskowski
On Fri, Oct 21, 2011 at 7:52 PM, David Blevins david.blev...@gmail.com wrote:

 Hiram Chirino pointed this out to me this week.  Looks like some great 
 building blocks for a site:

  http://twitter.github.com/bootstrap/

I felt in love with it as I saw it. I'd very much welcome having it
for openejb's website.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: New OpenEJB website

2011-10-19 Thread Jacek Laskowski
On Tue, Oct 18, 2011 at 10:52 AM, Jean-Louis MONTEIRO
jeano...@gmail.com wrote:

 They will provide us with a static template using HTML 5 and CSS 3.
 We'll also have all images 

 If we can have everything (as planed) by the end of the week, I hope to give
 it a first shoot next week.

Can't wait. html5/css3 caught my attention.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: October board report

2011-10-17 Thread Jacek Laskowski
On Mon, Oct 17, 2011 at 3:00 AM, David Blevins david.blev...@gmail.com wrote:

 Edit at will, make notes, anything.  Don't want to miss anything, so feel 
 free to get picky. :)

 Will be sending it off tomorrow.

Looks great, reads well. Let it go out.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn commit: r1180717 - in /openejb/trunk/arquillian-tomee: arquillian-tomee-moviefun-example/ arquillian-tomee-moviefun-example/src/main/resources/META-INF/ arquillian-tomee-moviefun-example/src/t

2011-10-13 Thread Jacek Laskowski
On Sun, Oct 9, 2011 at 11:18 PM,  jgallim...@apache.org wrote:
 Author: jgallimore
 Date: Sun Oct  9 21:18:38 2011
 New Revision: 1180717

 URL: http://svn.apache.org/viewvc?rev=1180717view=rev
 Log:
 TOMEE-4 added Selenium test to Moviefun example
...
 Modified: 
 openejb/trunk/arquillian-tomee/arquillian-tomee-moviefun-example/src/main/resources/META-INF/persistence.xml
 URL: 
 http://svn.apache.org/viewvc/openejb/trunk/arquillian-tomee/arquillian-tomee-moviefun-example/src/main/resources/META-INF/persistence.xml?rev=1180717r1=1180716r2=1180717view=diff
 ==
 --- 
 openejb/trunk/arquillian-tomee/arquillian-tomee-moviefun-example/src/main/resources/META-INF/persistence.xml
  (original)
 +++ 
 openejb/trunk/arquillian-tomee/arquillian-tomee-moviefun-example/src/main/resources/META-INF/persistence.xml
  Sun Oct  9 21:18:38 2011
 @@ -18,7 +18,7 @@
  --
  persistence version=2.0 xmlns=http://java.sun.com/xml/ns/persistence;
              xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 -             xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
 http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd;
 +             xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
 http://www.jrg.me.uk/persistence_2_0.xsd;

That scares me. Can we get back to the previous schemaLocation?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn commit: r1180962 - in /openejb/trunk/openejb: ./ assembly/openejb-lite/src/main/resources/META-INF/ assembly/openejb-standalone/src/main/resources/ assembly/tomee/tomee-bundle/tomee7/src/main/

2011-10-13 Thread Jacek Laskowski
On Mon, Oct 10, 2011 at 3:47 PM,  rmannibu...@apache.org wrote:
 Author: rmannibucau
 Date: Mon Oct 10 13:47:49 2011
 New Revision: 1180962

 URL: http://svn.apache.org/viewvc?rev=1180962view=rev
 Log:
 upgrading hsqldb to version 2.2.4
...
 Modified: 
 openejb/trunk/openejb/assembly/openejb-lite/src/main/resources/META-INF/LICENSE
 URL: 
 http://svn.apache.org/viewvc/openejb/trunk/openejb/assembly/openejb-lite/src/main/resources/META-INF/LICENSE?rev=1180962r1=1180961r2=1180962view=diff
 ==
 --- 
 openejb/trunk/openejb/assembly/openejb-lite/src/main/resources/META-INF/LICENSE
  (original)
 +++ 
 openejb/trunk/openejb/assembly/openejb-lite/src/main/resources/META-INF/LICENSE
  Mon Oct 10 13:47:49 2011
 @@ -209,8 +209,8 @@ W3C Consortium (http://www.w3c.org/).
  Use of the source code, thus licensed, and the resultant binary are
  subject to the terms and conditions of the following license.

 -W3C¨ SOFTWARE NOTICE AND LICENSE
 -Copyright © 1994-2002 World Wide Web Consortium, (Massachusetts Institute of
 +W3C� SOFTWARE NOTICE AND LICENSE
 +Copyright � 1994-2002 World Wide Web Consortium, (Massachusetts Institute 
 of

I guess it was encoding issue?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn commit: r1182610 - /openejb/trunk/openejb/assembly/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java

2011-10-13 Thread Jacek Laskowski
On Thu, Oct 13, 2011 at 12:58 AM,  rmannibu...@apache.org wrote:
 Author: rmannibucau
 Date: Wed Oct 12 22:58:51 2011
 New Revision: 1182610

 URL: http://svn.apache.org/viewvc?rev=1182610view=rev
 Log:
 return AppContext from embedded container to be able to get information fro 
 mthe context (jndi tree in particular)

 Modified:
    
 openejb/trunk/openejb/assembly/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java

 Modified: 
 openejb/trunk/openejb/assembly/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java
 URL: 
 http://svn.apache.org/viewvc/openejb/trunk/openejb/assembly/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java?rev=1182610r1=1182609r2=1182610view=diff
 ==
...
 +    public Context getLastJndiContext() {
 +        return assembler.getContainerSystem().getJNDIContext();
 +    }
 +

Why is the method called this way? Shouldn't it be getJNDIContext()?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn commit: r1180517 - in /openejb/trunk/openejb/assembly: ./ openejb-tomcat/ tomee/ tomee/openejb-tomcat-bundle/ tomee/openejb-tomcat-catalina/ tomee/openejb-tomcat-common/ tomee/openejb-tomcat-l

2011-10-09 Thread Jacek Laskowski
On Sun, Oct 9, 2011 at 4:07 AM,  dblev...@apache.org wrote:
 Author: dblevins
 Date: Sun Oct  9 02:07:20 2011
 New Revision: 1180517

 URL: http://svn.apache.org/viewvc?rev=1180517view=rev
 Log:
 OPENEJB-1697: TomEE related renaming

   nameOpenEJB :: Assembly :: Tomcat/name
   nameOpenEJB :: Assembly :: Tomcat :: Catalina/name
   nameOpenEJB :: Assembly :: Tomcat :: Common/name

...and so on. Guess they should be changed to OpenEJB :: Assembly ::
TomEE or alike, but am not sure and would like others pick the right
naming :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: TomEE doesn't accepts no web.xml web app (netbeans used)

2011-10-09 Thread Jacek Laskowski
On Sun, Oct 9, 2011 at 6:10 PM, Karan Malhi karan.ma...@gmail.com wrote:
 As Romain mentioned earlier, we should check for WEB-INF, because
 thats the directory which is guaranteed to be present in a web
 application.

Is it? Even though I believe WEB-INF is a better bet, it's not
required as webapps with jsps/html/css or any non-Java classes are
possible. I'll be working on it for the coming days and will include
appropriate checks. Thanks Karan.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: JIRA maintenance - s,trunk/openejb3,trunk/openejb + s,tomcat,tomee

2011-10-08 Thread Jacek Laskowski
On Sat, Oct 8, 2011 at 9:31 PM, David Blevins david.blev...@gmail.com wrote:

 Maybe we should even start a JIRA project for TomEE?

 It has it's own version number and probably easier for people to understand.

I'm so glad you've mentioned it! That's the solution I've been
awaiting as I didn't know how and where report issues with appropriate
version numbers.

+1

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: TomEE doesn't accepts no web.xml web app (netbeans used)

2011-10-08 Thread Jacek Laskowski
On Sat, Oct 8, 2011 at 9:26 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 Hmm your fix needs context.xml so you could have added an empty web.xml too.
 I still think testing web-inf is more relevant no?

You're right, but it wasn't me who created context.xml file - it's
netbeans and I don't really know why it deploys apps this way. Not a
bid deal to add other combinations which all lead to a bad taste in my
mouth when I see them all in openejb-core (which has nothing to do
with the tomcat or other environments).

I've run into other issues with no-web.xml webapps - it's like I may
have opened a can of worms :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: We did it!!!

2011-10-06 Thread Jacek Laskowski
On Wed, Oct 5, 2011 at 7:38 AM, David Blevins david.blev...@gmail.com wrote:

 I know that everyone here cares so much they wish they could do more.  It may 
 surprise you to learn I feel like that pretty much all the time too.  It just 
 comes with working on something you love.  When one is looking out so far 
 ahead all the time and focusing on how far there is yet to go, it can be 
 really easy to lose track of how far you've come and how many steps you've 
 taken to get there.

 Doing something like this is like a game of jenga.  You may look at the few 
 bricks you've added and wish you could have added more. You might think they 
 barely amount to anything compared to the tall structure you see before you.  
 But imagine the devastation that would become of that structure if everyone 
 who felt that way removed their bricks.

 That's how utterly important every contribution is.  Appreciate the bricks 
 you've added and the bricks others have added.  We did this together and 
 there is no one person who could have ever done it alone.

Hi Dave et al,

It was truly inspiring and as always highly energetic. Kudos for your
guidance and keeping the project up and healthy. I enjoyed very much
following the team's progress in this certification achievement.

Wasn't it that we've had all the pieces for ages, but what we truly
missed was good marketing? I think a book, a couple of articles and
conference speeches would bring more curious eyes to the project and
that's how I read your words: really just enjoy the victory.

p.s. I read in a blog entry about your presentation about TomEE. Would
you share how it went and where you'd improve it? In two weeks I'm
going to present TomEE during warsjawa [1] and wish I could do it well
for the victory.

[1] http://warsjawa.pl

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 11:50 AM, Romain Manni-Bucau (Commented) (JIRA)
j...@apache.org wrote:

 Romain Manni-Bucau commented on OPENEJB-1694:
 -

 please check your dependencies, i just tried and it works perfectly.

 i tried with google CODI examples.

 i had to remove openwebbeans, myfaces, geronimo .. jars (remove all jar which 
 are already in webapps/openejb/lib excepted logging jar (slf4j/log4j)).

I was to have looked at the issue, too. I'm amazed you did it so prompt.

I however don't like the solution. Do you propose to remove the libs
from openejb/lib directory to have the other app running? I think it's
like deleting/adding jars to tomcat's lib or ext or even java's ext
dir - it will help and even encourage for future actions like that,
but it's not a very safe way to fix the issue to me. It's too
low-level, isn't it? Aren't openejb's jars separated from other
webapp's jars?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: We did it!!!

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 12:38 PM, David Blevins david.blev...@gmail.com wrote:

 The talk is tomorrow at 11am.  Slides done, just trying to get some slightly 
 more interesting demo code working.

Oh, is it? I read about openejb and tomee on Cay Horstmann's blog in
JavaOne 2011 Day 3 [1]:

In the afternoon, I saw a presentation of OpenEJB, Apache's EJB
server whose claim to fame is that you can start it up via public
static void main. That's really useful for unit testing. I had looked
at it three years ago when it wasn't quite ready for prime time, but
now it looked pretty nice. Check it out for testing your session and
entity beans.

Doh, it wasn't really about tomee :)

[1] 
http://weblogs.java.net/blog/cayhorstmann/archive/2011/10/05/javaone-2011-day-3

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 12:00 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 i propose to remove jars from its webapp (i'm pretty sure it is the problem
 since i had the same downloading an example).

 tomcat and openejb shouldn't be touched.

Ah, thanks Romain for your patience to elaborate on it. You did write
about removing the jars which are already in webapps/openejb/lib
excepted logging jar (slf4j/log4j). Thanks again.

I think it should be somewhere in the doc so people won't run into it
again or will be warned it may happen. Is there a place for it?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 12:12 PM, Heinz Burgstaller (Commented) (JIRA)
j...@apache.org wrote:

    [ 
 https://issues.apache.org/jira/browse/OPENEJB-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13121821#comment-13121821
  ]

 Heinz Burgstaller commented on OPENEJB-1694:
 

 This solution would remove the JEE6 Stack from TomEE? The examples from 
 (http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/) are 
 using CODI for Transaction Management. My prefered solution is a JEE6 Stack 
 with included MyFaces CODI functionality, and OpenEJB handles Transaction 
 Management.

 Removing all the libs from /webapps/openejb/ would leave me a plain Tomcat 7, 
 or is that wrong?

It looks I wasn't the only one misled by not listening/reading
carefully :) A beauty of helping people who expect no help.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: tomee

2011-10-06 Thread Jacek Laskowski
On Wed, Oct 5, 2011 at 11:29 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 i played a bit with tomcat logo:
 http://people.apache.org/~rmannibucau/tomee.svg
 http://people.apache.org/~rmannibucau/tomee-certified.svg

 here the png version (FF  chrome doesn't support shades :():
 http://people.apache.org/~rmannibucau/tomee.png

Sorry to say so, but I don't like the logo at all. There's too much
detail in it and the combination of red and claws don't invite for
further exploration (but just to run away to not get eaten or bitten
at the very least :))

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: [VOTE] Apache OpenEJB 4.0.0-beta-1 and Apache TomEE 1.0.0-beta-1 (023)

2011-10-03 Thread Jacek Laskowski
-4.0.0-beta-1.war.contents/lib/openejb-jee-4.0.0-beta-1.jar.contents/META-INF/LICENSE
 content/org/apache/openejb/openejb-tomcat-webapp/4.0.0-beta-1/openejb-tomcat-webapp-4.0.0-beta-1.war.contents/lib/openejb-jee-4.0.0-beta-1.jar.contents/META-INF/NOTICE
 content/org/apache/openejb/openejb/4.0.0-beta-1/openejb-4.0.0-beta-1-source-release.zip.contents/openejb-4.0.0-beta-1/LICENSE
 content/org/apache/openejb/openejb/4.0.0-beta-1/openejb-4.0.0-beta-1-source-release.zip.contents/openejb-4.0.0-beta-1/NOTICE

 sent 4777396 bytes  received 18473 bytes  504828.32 bytes/sec
 total size is 833184323  speedup is 173.73 (DRY RUN)





-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: JavaOne 2011 schedule

2011-10-02 Thread Jacek Laskowski
On Sat, Oct 1, 2011 at 6:25 AM, David Blevins david.blev...@gmail.com wrote:
 JavaOne is next week and as usual I will be there.  I'm a bit busier than 
 usual this year, but as always I'm more than happy to get together with 
 anyone.  In fact it's my favorite part of JavaOne, so please do reach out.

 Here's my speaking schedule:

Hi,

Will you share the slides? I'd like to support mine before running
openejb sessions during Warszawa JUG's meetings.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: Next release

2011-10-02 Thread Jacek Laskowski
On Fri, Sep 30, 2011 at 9:00 PM, David Blevins david.blev...@gmail.com wrote:

 What do people think about a next release potentially as short as 2 weeks 
 from now?

Agree wholeheartedly.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: TomEE version

2011-10-02 Thread Jacek Laskowski
On Sat, Oct 1, 2011 at 1:03 AM, David Blevins david.blev...@gmail.com wrote:

 Calling Apache TomEE a 4.0.0-beta-1 is a big mistake.

 Should be Apache TomEE a 1.0.0-beta-1.

I agree.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: svn commit: r1177439 - in /openejb/trunk/openejb3: container/openejb-core/src/main/resources/openejb-version.properties container/openejb-osgi/src/main/resources/openejb-version.properties src/mai

2011-09-30 Thread Jacek Laskowski
On Thu, Sep 29, 2011 at 11:45 PM,  dblev...@apache.org wrote:
 Author: dblevins
 Date: Thu Sep 29 21:45:34 2011
 New Revision: 1177439

 URL: http://svn.apache.org/viewvc?rev=1177439view=rev
 Log:
 copyright years updated

Hi,

I'm repeating it whenever I notice copyright years being updated -
it's not needed. I believe it's Kevin (Geronimo PMC) who said it once
long time ago, but can't find a reference to it. Anyway, I'd love to
have it repeated once more (and get corrected otherwise).

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: how to use openejb.embedded.remoteable in TomEE

2011-09-30 Thread Jacek Laskowski
On Thu, Sep 29, 2011 at 10:36 PM, Jonathan Gallimore
jonathan.gallim...@gmail.com wrote:

 I think all you need to do is use http://localhost:8080/openejb/ejb as the
 provider URL (swap 8080 for your http port if its different):

 Properties p = new Properties();
 p.setProperty(Context.INITIAL_CONTEXT_FACTORY,
 org.apache.openejb.client.RemoteInitialContextFactory);
 p.setProperty(Context.PROVIDER_URL, http://localhost:8080/openejb/ejb;);
 InitialContext ic = new InitialContext(p);

 Hope that helps.

Is this somewhere on the website? I think we should add it if it's
not. I volunteer to add it, but am asking for the place and moreover a
confirmation that it's not already there.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: how to use openejb.embedded.remoteable in TomEE

2011-09-30 Thread Jacek Laskowski
On Fri, Sep 30, 2011 at 6:31 PM, stratwine tovishwan...@gmail.com wrote:
 I came across this at this page -  http://openejb.apache.org/3.0/clients.html
 http://openejb.apache.org/3.0/clients.html  I guess referring to this link
 in relevant sections of other pages would make it easy to find.

Thanks Vishwa. I seem to be lacking visiting the website more often :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
Hoping to save time by spending it by David Blevins (Apache OpenEJB)


Re: 4.0.0-beta-1 Release tasks

2011-09-26 Thread Jacek Laskowski
On Sun, Sep 25, 2011 at 11:15 PM, David Blevins david.blev...@gmail.com wrote:

 On Sep 23, 2011, at 6:21 PM, David Blevins wrote:

  - LICENSE/NOTICE files (likely out of date)

 On this note, thinking maybe we want to move the jetty assemblies out of 
 trunk for at least this release or we'll have to spend the time to create 
 proper LICENSE/NOTICE files for those assemblies.

 We can easily move them back afterwards.

Go ahead! Trust never deceives :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: svn commit: r1175732 - /openejb/trunk/openejb3/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/EjbDaemon.java

2011-09-26 Thread Jacek Laskowski
On Mon, Sep 26, 2011 at 11:09 AM,  andygumbre...@apache.org wrote:
 Author: andygumbrecht
 Date: Mon Sep 26 09:09:56 2011
 New Revision: 1175732

 URL: http://svn.apache.org/viewvc?rev=1175732view=rev
 Log:
 Fix: InputStream was not being explicitly closed - Socket close.
 Removed per request debug/error String declaration.
 Ensure streams are closed at all levels as read/writeExternal may fail.

 Modified:
    
 openejb/trunk/openejb3/server/openejb-ejbd/src/main/java/org/apache/openejb/server/ejbd/EjbDaemon.java
...
 +    private static String getTypeName(final byte requestType) {
 +        switch (requestType) {
 +            case RequestMethodConstants.EJB_REQUEST:
 +                return EJB_REQUEST;
 +            case RequestMethodConstants.JNDI_REQUEST:
 +                return JNDI_REQUEST;
 +            case RequestMethodConstants.AUTH_REQUEST:
 +                return AUTH_REQUEST;
 +            default:
 +                return requestType +  (UNKNOWN);
 +        }
 +    }

That struck me and led to believing that it begs for an enum, doesn't it?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: [VOTE] Release Apache OpenEJB 3.0.4 (Second Try)

2011-09-26 Thread Jacek Laskowski
+1

Jacek

On Mon, Sep 26, 2011 at 3:11 PM, Ivan xhh...@gmail.com wrote:
 Hi, devs, help to comment it and throw a vote !

 2011/9/25 Jeff Genender jgenen...@apache.org

 +1

 Jeff


 On Sep 24, 2011, at 10:14 PM, Ivan wrote:

  Hi,
     Let's vote for Apache OpenEJB 3.0.4, this release is mostly for the
  incoming Geronimo 2.1.8.
     Comparing with the last version, only two JIRAs are included :
 
     OPENEJB-1091: Cause of RollbackException swallowed
     OPENEJB-1258 Boolean conversion problem in ejb-jar.xml
 
     binary repository  :
  https://repository.apache.org/content/repositories/orgapacheopenejb-094
 
     source codes :
  https://svn.apache.org/repos/asf/openejb/tags/openejb-3.0.4
 
     vote artifacts :
 
      Vote will be open for 72 hours.
 
      [ ] +1  approve
      [ ] +0  no opinion
      [ ] -1  disapprove (and reason why)
 
  --
  Ivan




 --
 Ivan




-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: svn commit: r1175332 - /openejb/trunk/openejb3/rat.xml

2011-09-25 Thread Jacek Laskowski
On Sun, Sep 25, 2011 at 10:44 AM,  dblev...@apache.org wrote:
 Author: dblevins
 Date: Sun Sep 25 08:44:56 2011
 New Revision: 1175332

 URL: http://svn.apache.org/viewvc?rev=1175332view=rev
 Log:
 rat config file

 Added:
    openejb/trunk/openejb3/rat.xml   (with props)
...
 +        fileset dir=/usr/local/apache-rat-0.7/

Has this been overlooked? I wonder if /usr/local could become an env var?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: svn commit: r1175333 - in /openejb/trunk/openejb3: assembly/openejb-tomcat/tomee-embedded/src/main/resources/org/apache/openejb/tomee/configs/ container/openejb-jee/src/test/resources/jsf/1_1_dtd/

2011-09-25 Thread Jacek Laskowski
On Sun, Sep 25, 2011 at 10:45 AM,  dblev...@apache.org wrote:
 Author: dblevins
 Date: Sun Sep 25 08:45:28 2011
 New Revision: 1175333

 URL: http://svn.apache.org/viewvc?rev=1175333view=rev
 Log:
 added license headers
...
 Modified: 
 openejb/trunk/openejb3/container/openejb-jee/src/test/resources/jsf/1_1_dtd/faces-config.xml
 URL: 
 http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/jsf/1_1_dtd/faces-config.xml?rev=1175333r1=1175332r2=1175333view=diff
 ==
 --- 
 openejb/trunk/openejb3/container/openejb-jee/src/test/resources/jsf/1_1_dtd/faces-config.xml
  (original)
 +++ 
 openejb/trunk/openejb3/container/openejb-jee/src/test/resources/jsf/1_1_dtd/faces-config.xml
  Sun Sep 25 08:45:28 2011
 @@ -3,10 +3,21 @@ PUBLIC -//Sun Microsystems, Inc.//DTD J
  http://java.sun.com/dtd/web-facesconfig_1_1.dtd;

  !--
 -   Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 -   SUN PROPRIETARY/CONFIDENTIAL.  Use is subject license terms.

 -   $ID$
 +    Licensed to the Apache Software Foundation (ASF) under one or more
 +    contributor license agreements.  See the NOTICE file distributed with
 +    this work for additional information regarding copyright ownership.
 +    The ASF licenses this file to You under the Apache License, Version 2.0
 +    (the License); you may not use this file except in compliance with
 +    the License.  You may obtain a copy of the License at
 +
 +       http://www.apache.org/licenses/LICENSE-2.0
 +
 +    Unless required by applicable law or agreed to in writing, software
 +    distributed under the License is distributed on an AS IS BASIS,
 +    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 +    See the License for the specific language governing permissions and
 +    limitations under the License.
  --

  faces-config

I believe it's safer (from legal point of view) to remove the file
altogether - it had Sun's copyright - and create a new one instead -
ours. Even though the end result is alike, we must not modify a file
we don't own.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Have a new release for OpenEJB 3.0.4 ?

2011-09-20 Thread Jacek Laskowski
On Tue, Sep 20, 2011 at 4:58 AM, Ivan xhh...@gmail.com wrote:
 Hi, OpenEJB devs, Geronimo hopes to have a maintenance build 2.1.8, and it
 seems that there are some important transaction changes in the
 3.0.4-SNAPSHOT, which are required for the new Geronimo release. If no
 objection, I would like to take the release work for OpenEJB 3.0.4.

No objection. Full steam ahead! :)

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: @ActivationConfigProperty without annotations or deployment descriptor?

2011-09-07 Thread Jacek Laskowski
On Wed, Sep 7, 2011 at 10:29 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 if you speak about built-in feature i don't think but i think we can use
 constant in annotation so just initialize some constants from system
 properties no?

It sounds very promising. Would you elaborate? An example would be helpful.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: waiting for java 7 ;)

2011-09-04 Thread Jacek Laskowski
On Sat, Sep 3, 2011 at 1:52 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 If all our preferred app server (openejb, openjpa, cxf, ...) was using it we
 could gain a lot of time in our reflection usage...but i guess we have to
 wait a bit :(

Well, you don't have to if you've got enough spare time to roll a fork
and provide j7-based version of openejb :) By the time j7 becomes
mainstream, openejb will already have been ready. It'd be much better
though, to engage more people (lurkers) to work on the shift.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Arquillian

2011-08-21 Thread Jacek Laskowski
On Fri, Aug 19, 2011 at 10:12 PM, Jonathan Gallimore
jonathan.gallim...@gmail.com wrote:
 David just pointed out to me on IRC that you'll need some artifacts from the
 JBoss repository. Here's the relevant profile section from my
 ~/.m2/settings.xml:

I believe this and the other tips and tricks should be part of a page
dedicated to openejb  arquillian. Or is there any that I'm not aware
of?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Investigation integration points with Cloud Foundry (.org) ?

2011-07-29 Thread Jacek Laskowski
On Thu, Jul 28, 2011 at 12:28 PM, Bakalsky, Krum krum.bakal...@sap.com wrote:

 I was wondering whether investigating CloudFoundry integration would sound 
 worth taking a look ? I am just giving the idea and am curious about what you 
 think. Basically, we could think of adding support for provisioning 
 Tomcat+OpenEJB or even the whole TomEE server on CloudFoundry, as a framework 
 on the Java runtime, speaking in terms of CF terminology.

Hi Krum,

I'm only sligtly aware of CF's existence and haven't tried it out yet.
What would it take to provision openejb modules from it? Should we
take any special steps to make it happen?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: hibernate?

2011-07-29 Thread Jacek Laskowski
+1

On Fri, Jul 29, 2011 at 9:35 AM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 Hi,

 As you may know a lot of people (i'm in these people ;)) use hibernate
 instead of openjpa for different reasons.

 As we deliver an Apache product we can't activate hibernate.

 However we can put a profile with hibernate into our pom if we dont'
 activate it on Apache platform isn't it?

 What i would like to do:

   - add a profile in openejb-core for openjpa - by default
   - add a profile in openejb-core for hibernate - activate on hibernate
   system property
   - ...if someone want eclipselink we can do the same etc...

 What is important if we do it is to use the system property because it will
 allow us to activate transitive profile from maven (yes!).

 Any thought?

 - Romain




-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Pruning OpenEJB project and co

2011-07-22 Thread Jacek Laskowski
On Fri, Jul 22, 2011 at 12:25 PM, Jean-Louis MONTEIRO
jeano...@gmail.com wrote:

 Thoughts?

 Feedback is more than welcome ;-)

I like the idea of attic where we could move unnecessary bits that
pollute the repo. Smaller used to mean better and it may encourage
others to participate in the project? I'm for pruning initiative.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: cxf 2.4.1

2011-07-08 Thread Jacek Laskowski
On Fri, Jul 8, 2011 at 8:52 AM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 thanks to Jean-Louis OpenEJB is now using cxf 2.4.1, normally HEAD compiles
 and it works in Tomcat too but if you have some issues please shout.

I'm really impressed. It took me so long to bump the version up that
now since it's done I'm gonna spend some time understanding your
changes. Hats off to both of you!

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Issue with openejb on OSGI

2011-07-08 Thread Jacek Laskowski
On Fri, Jul 8, 2011 at 11:46 AM, Charles Moulliard cmoulli...@gmail.com wrote:
 Here is the ticket + instructions to deploy and reproduce the error :

 https://issues.apache.org/jira/browse/OPENEJB-1627

Thanks! I'm getting the following errors after I deployed the very
first 4 bundles:

ERROR: Bundle org.apache.servicemix.specs.jaxws-api-2.2 [53] Error
starting 
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.7.0
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.specs.jaxws-api-2.2 [53]: Unable to resolve
53.0: missing requirement [53.0] package;
((package=javax.xml.soap)(version=1.3.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.servicemix.specs.jaxws-api-2.2 [53]: Unable to resolve
53.0: missing requirement [53.0] package;
((package=javax.xml.soap)(version=1.3.0))

What bundle is supposed to export (package=javax.xml.soap)(version=1.3.0)?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: openejb examples

2011-07-06 Thread Jacek Laskowski
On Mon, Jul 4, 2011 at 1:20 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 anybody to help me on this subject?

Hi,

Have you worked it out? May I help you somehow? (I don't know how, so
please advise).

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: openejb examples

2011-07-06 Thread Jacek Laskowski
On Wed, Jul 6, 2011 at 1:56 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 Well, if you have any idea it is always welcome :)

I'd report an issue in infra jira and wait for their response.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Issue with openejb on OSGI

2011-07-05 Thread Jacek Laskowski
On Tue, Jul 5, 2011 at 9:03 AM, Charles Moulliard cmoulli...@gmail.com wrote:
 The patch of Jacek is already implemented in openEJB - 4.0-SNAPSHOT.

Hi Charles,

I thought I could manage openejb mailing flow and don't get
distracted, but it's getting more and more...disturbing (meaning
'attractive'). I always wanted to see more osgi in openejb and what
you could find is my understanding of how it was supposed to look at
that time. I'm more experienced in osgi now and would rewrite it all
from scratch.

Where I could see improvements is how ejbs are found and tracked.
BundleListener should likely be morphed to tracker (similar to what
webapps are handled). EJBs should be scanned appropriately, according
to osgi packaging and visibility rules.

I can't claim I'll find time for this, but before delving into
discussion about my availability, let's focus on your requirements.
What do you want to achieve with osgi and openejb? A use case would be
very helpful.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Issue with openejb on OSGI

2011-07-05 Thread Jacek Laskowski
On Tue, Jul 5, 2011 at 12:45 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 i answer because to be able to deploy ejbmodule as bundle could be nice for
 me too, it is my use case ;)

Well, to be honest, a mere bundle doesn't add much to what you can do
with an EJB module :) You can do it right away with any jar provided
it has Bundle-SymbolicName and Bundle-ManifestVersion (I think turning
them into optional attrs would be a step into a right direction).

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Issue with openejb on OSGI

2011-07-05 Thread Jacek Laskowski
On Tue, Jul 5, 2011 at 4:24 PM, Charles Moulliard cmoulli...@gmail.com wrote:
 Here is what we see in karaf console when openejb is started.

Thanks. I'll be looking into it and provide a patch. I'll be however
testing using a simple OSGi execution environment with felix/equinox
launched on the command line (or a variant thereof). How should I test
it out with karaf? How do you run it? A bit of introduction would be
of a great help to me.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: cxf 2.4.1

2011-07-01 Thread Jacek Laskowski
On Thu, Jun 30, 2011 at 10:35 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 i created a branch for this mogration:
 https://svn.apache.org/repos/asf/openejb/branches/openejb-4.0.x-cxf-2.4.x/

Hi,

Just an idea crossed my mind when this branching cropped up - does
anyone use git for openejb development? Could I use git alongside your
use of svn?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: cxf 2.4.1

2011-06-30 Thread Jacek Laskowski
On Thu, Jun 30, 2011 at 12:31 AM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:

 i still need help to upgrade the cxf version, i have a NPE i don't find from
 where it is thrown :(

I'm in front of IDEA with the sources of openejb and cxf at my
disposal digging into their intricacies. When I found out anything,
I'll report. I think I'll be available on IRC later tonight, but don't
expect I'll be ready to talk it over yet.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: cxf 2.4.1

2011-06-29 Thread Jacek Laskowski
On Tue, Jun 28, 2011 at 9:40 PM, Romain Manni-Bucau
rmannibu...@gmail.com wrote:
 here is my patch https://gist.github.com/1046378 but it just compile today,
 i probably broke a lot of things, it will probably need refactoring.

 However any help is  welcomed :)

Hi Romain,

Thanks for the invitation. I may accept it :)

I'd appreciate if you could answer a few questions.

How did you know how to change
server/openejb-cxf/src/main/java/org/apache/openejb/server/cxf/HttpDestination.java?
Did you follow compiler's errors or read the source code of CXF?

Why did you copy
server/openejb-cxf/src/main/java/org/apache/openejb/server/cxf/WSDLQueryHandler.java
from CXF? I suppose you meant to get passed the compilation errors,
didn't you?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: A tweet a week campaign :)

2011-06-12 Thread Jacek Laskowski
On Sat, Jun 11, 2011 at 4:39 PM, Karan Malhi karan.ma...@gmail.com wrote:

 Crux of the above is, If you can just tweet once a week with #OpenEJB in
 the tweet that would be great.

A great idea! Love it.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Interceptor tests -- thank you!

2011-03-29 Thread Jacek Laskowski
On Tue, Mar 29, 2011 at 2:12 AM, David Blevins david.blev...@gmail.com wrote:

 Good work and a very late thank you!

I'm glad to read so, especially when I think about my little to no
contributions lately (that I'm really sorry about). As a matter of
fact, I'd like to point out that the main source of inspiration were
the book Growing Object-Oriented Software, Guided by Tests by Steve
Freeman [1] and the itests I found in openejb. Kudos to all who've
been involved in their writing.

p.s. I've been reading it as a way to engage me a bit more that I
proudly accept yet can't promise much.

[1] http://www.amazon.com/review/R13OPE8F8EWWY9

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Grr, I hate it...does OpenEJB build for you?

2011-03-04 Thread Jacek Laskowski
Hi,

I more and more am leaning towards calling it to hate it when I
somehow touch the latest snapshots of our deps and I have to deal with
the latest changes that don't even compile or once it's taken over
pass the tests. It punched me again.

Does OpenEJB build for you? It's again when openejb-core fails and I
can't spend a dime on it (being swamped with openejb-cxf and
relatives).

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference - Confitura 2011 (dawniej Javarsovia).
http://confitura.pl


Re: Grr, I hate it...does OpenEJB build for you?

2011-03-04 Thread Jacek Laskowski
On Fri, Mar 4, 2011 at 1:57 PM, Jonathan Gallimore
jonathan.gallim...@gmail.com wrote:
 I did a full build last night with all the tests (not the itests though) and
 it built ok with all the tests passing - I always do this before committing.
...
 What's the issue you're seeing? I guess you're updating CXF to a newer
 version? If I can help then I'm more than happy to.

It just fails in the openejb-core module so I guess it should have
nothing w/ my changes to openejb-cxf. However there're some changes in
openejb-cxf and am cleaning up the local repo to ensure no changes of
mine interfere. I'll report back after I've built it again w/ no
changes and empty m2 repo.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: Grr, I hate it...does OpenEJB build for you?

2011-03-04 Thread Jacek Laskowski
On Sat, Mar 5, 2011 at 12:45 AM, Jacek Laskowski ja...@japila.pl wrote:

 It just fails in the openejb-core module so I guess it should have
 nothing w/ my changes to openejb-cxf. However there're some changes in
 openejb-cxf and am cleaning up the local repo to ensure no changes of
 mine interfere. I'll report back after I've built it again w/ no
 changes and empty m2 repo.

Just built openejb and it failed when it should've - in openejb-cxf
module w/ tests on. I'm much better now. I haven't changed anything
since but restarted the system so it could be that after a few
freezes/wakeups it was in an unstable state causing the build
failures. It does not matter now. Sorry for false alarm.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl


Re: CXF 2.2.10 in openejb-cxf - anyone tried to upgrade to 2.3.2 already?

2011-03-01 Thread Jacek Laskowski
On Tue, Feb 22, 2011 at 11:24 AM, Jacek Laskowski ja...@japila.pl wrote:

 I took a look at the openejb-cxf module and noticed there was a
 dependency on Apache CXF 2.2.10 which is a bit old in 2.2.x and 2.3.x
 branches of CXF. I thought about spending some time on its upgrade to
 the latest version 2.3.2 and not knowing/checking out whether it will
 cause any trouble or not, I'm asking whether anyone has tried it
 already? Any advice would be welcome before I get swamped with no help
 around. Honestly, I'm pretty weak webservices development-wise.

Just to let you know about the status.

I've been digging into the openejb-webservices and openejb-cxf
modules. I pretty much understand who's doing what in OpenEJB from an
architectural point of view. I'm not very happy with some
architectural decisions being made, but I'll leave it for the
following affair.

I miss cxf experience and that's what I'm gonna improve in the
upcoming days. I'm able to compile the tests in openejb-cxf with cxf
2.3.2, but the changes I made (generic types are harmless, but there's
a single place w/ a condition I don't understand at the moment)
interfere and they keep failing.

I should be ready for commit soon(ish).

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl


CXF 2.2.10 in openejb-cxf - anyone tried to upgrade to 2.3.2 already?

2011-02-22 Thread Jacek Laskowski
Hi,

I'm digging into JAX-WS Web Services area and been meaning to
contribute a little bit to openejb to further enhance its
understanding.

I took a look at the openejb-cxf module and noticed there was a
dependency on Apache CXF 2.2.10 which is a bit old in 2.2.x and 2.3.x
branches of CXF. I thought about spending some time on its upgrade to
the latest version 2.3.2 and not knowing/checking out whether it will
cause any trouble or not, I'm asking whether anyone has tried it
already? Any advice would be welcome before I get swamped with no help
around. Honestly, I'm pretty weak webservices development-wise.

I've raised the issue
http://issues.apache.org/jira/browse/OPENEJB-1433 to track progress.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl


Re: New openejb 3.2-SNAPSHOT

2011-01-12 Thread Jacek Laskowski
On Wed, Jan 12, 2011 at 9:31 PM, Jean-Louis MONTEIRO
jean-louis.monte...@atosorigin.com wrote:

 Can I push a new snapshot tomorrow?

Yes, you can and frankly speaking you should. The sooner we push
changes the better for anybody relying upon openejb, including
geronimo. I, myself, haven't following the rule that closely.

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl


Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

2010-12-22 Thread Jacek Laskowski
On Tue, Dec 21, 2010 at 5:46 PM, Jean-Louis MONTEIRO
jean-louis.monte...@atosorigin.com wrote:

 Anyway, it should work.

It does. Thanks!

[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 32:21.492s
[INFO] Finished at: Tue Dec 21 23:28:43 CET 2010
[INFO] Final Memory: 145M/308M
[INFO] 

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

2010-12-21 Thread Jacek Laskowski
On Tue, Dec 21, 2010 at 9:50 AM, Jean-Louis MONTEIRO
jean-louis.monte...@atosorigin.com wrote:

 Apologize guys,

 it should be a file missing (service-jar.xml).
 Gonna check with intelliJ and commit the missing file.

Great! I was about to have reported an issue in JIRA, but it's not
necessary any more. Thanks.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

2010-12-21 Thread Jacek Laskowski
On Tue, Dec 21, 2010 at 1:39 PM, Jean-Louis MONTEIRO
jean-louis.monte...@atosorigin.com wrote:

 OK, i'm ready to commit the missing files.

Do it or attach to a jira issue and let us test it out.

 David did a lot of changes in openwebbeans and openejb to reduce static
 maps.
 But the OWB snapshot is still not available on
 https://repository.apache.org/content/repositories/snapshots/

Yeah, you're right. You won't be able to compile openejb without the
recent owb snapshot. Grab the sources and build 'em yourself. It's
pretty fast and worked fine a couple of days ago (they made some
changes I have not checked out yet so it could be they'd break the
build :-)) Give it a try anyway.

 Gonna push a post in d...@owb in order to ask for a snapshot.

Thanks. I meant to do so, but...well...never mind :-)

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


BUILD SUCCESS, finally!

2010-12-10 Thread Jacek Laskowski
Hi,

I've been awaiting it for ages and it finally showed up - today's
build finished with BUILD SUCCESS and it took me a while to have it on
my laptop. It was because of some changes of mine that I did, but
never committed (!)

The bottom line is to always commit your changes after you've done
even a minor change or do something else not hacking as your work
won't get live after a few days pass (you'll likely forget what you've
been up to). Another lesson learnt. I couldn't resist to send it to
the mailing list.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: svn commit: r1040677 - in /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/cdi: CdiPlugin.java CdiScanner.java

2010-12-01 Thread Jacek Laskowski
On Tue, Nov 30, 2010 at 7:31 PM,  dblev...@apache.org wrote:
 Author: dblevins
 Date: Tue Nov 30 18:31:49 2010
 New Revision: 1040677

 URL: http://svn.apache.org/viewvc?rev=1040677view=rev
 Log:
 Fix compile issues with latest OWB trunk

I updated the code yesterday (after a longer break) and it broke with
the error. I've been wondering how it slipped through the net? Thanks
for the fix.

BTW, what's your dev environment IDE-wise? Do you use IDEA on Mac?
Anything else that might be of help and is not a common knowledge?

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: Idea: Lightening demos

2010-11-14 Thread Jacek Laskowski
On Sun, Nov 14, 2010 at 7:25 AM, David Blevins david.blev...@visi.com wrote:

  So I just decided to delay the polish and see how many I could crank out.

That's really funny you mentioned 'polish' while I've been wondering
about doing screencasting in English :)

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: [VOTE] OpenEJB 3.1.4 release (take 3)

2010-11-13 Thread Jacek Laskowski
On Sat, Nov 13, 2010 at 5:19 AM, David Blevins david.blev...@visi.com wrote:
 Oooo-kaaay.  Thanks everyone so much for the patience.  Here we have
 another set of binaries that can actually compile and run in Java 5 :)

+1

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: Idea: Lightening demos

2010-11-13 Thread Jacek Laskowski
On Sat, Nov 13, 2010 at 2:06 AM, David Blevins david.blev...@visi.com wrote:

 Since then I've been thinking some more screencasts would be great.  Not long 
 10 minute ones with lots of talking, but rather super quick demos, aimed at 2 
 minutes or less.  Who doesn't have two minutes?

 Not sure if it can be done in 2 minutes, but seems like a really fun idea.  
 Inspired by the ApacheCon Lightening Talks, which are 5 minutes or less, I 
 thought it would be fun to call them Lightening Demos.

Hi,

A really great idea. I've been thinking about screencasting for a
while and did some actually, but the idea died eventually after a few,
with none about OpenEJB. I used to do screencasting in Polish and
never in English, so that's gonna make a difference. I've got my
license for ScreenFlow and want to take it for a spin this week. We'll
see how it works out.

I go for the simple-stateless sample. If you could share what the
steps I should take during the screencast, it'd be great.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: [VOTE] OpenEJB 3.1.4 release

2010-11-09 Thread Jacek Laskowski
On Mon, Nov 1, 2010 at 3:54 PM, Kevan Miller kevan.mil...@gmail.com wrote:

 One minor note, copyright in the NOTICE file is not current:

 Copyright 1999-2009 The Apache OpenEJB development community

 Nothing major... Will update in current dev branch...

Here's my +1 and a comment on Kevan's one: I remember someone's
claiming it's not important at all. I think it was during one Geronimo
release, but can't recall which one and what the final (re)solution
was. I'd be happy to know what US lawyers have to say on it :)

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: Resetting version numbers

2010-10-22 Thread Jacek Laskowski
On Thu, Oct 21, 2010 at 8:59 PM, David Blevins david.blev...@visi.com wrote:
 Based on how much we had in that 3.1.3 release it probably should have been 
 called 3.2 ... and probably our 3.2 should be called 4 since it jumps both 
 Java and Java EE versions (5 to 6).

 Too late to rename 3.1.3 to something more sensible, but maybe we should 
 change trunk.

 Thoughts?

Remember when we talked it over and decided that ejb 3.0 - openejb
3.0.x and ejb 3.1 - openejb 3.1.x? I'd stick with the versioning
until ejb3.1 is fully supported by openejb with its numbering bumped
to 4.0.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl


Re: Release cycle

2010-10-21 Thread Jacek Laskowski
On Wed, Oct 20, 2010 at 11:23 PM, David Blevins david.blev...@visi.com wrote:
 Yikes, it was one year and 6 days since our last 3.1.x release.  Hadn't 
 realized it was so bad :)

Me neither until Adam Bien tweeted it a few days back.

 Maybe we should try time-boxed releases for a while?  I think CXF does 2 
 months.

I'm hardly active development-wise, but with the other active
committers it does make sense. I'd go for it and see what we come up
with in 2 months.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl


Re: Draft of 3.1.3 release notes

2010-10-20 Thread Jacek Laskowski
On Tue, Oct 19, 2010 at 7:06 AM, David Blevins david.blev...@visi.com wrote:
 Here's what I have so far.  Can you think of anything we might have missed?  
 (list is generated from JIRA issues with some reformatting/shuffling)

Go w/ it.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl


Re: [VOTE] OpenEJB 3.1.3 release (try 3)

2010-10-17 Thread Jacek Laskowski
+1

Jacek

On Sat, Oct 16, 2010 at 5:17 AM, David Blevins david.blev...@visi.com wrote:
 Round 3, up and ready.

 Repo:

  https://repository.apache.org/content/repositories/orgapacheopenejb-005/

 Binaries:

  http://people.apache.org/~dblevins/staging-005/3.1.3/

 Branch (to become a tag):

  http://svn.apache.org/repos/asf/openejb/branches/openejb-3.1.3/

 Rat log:

  http://people.apache.org/~dblevins/staging-005/rat.log
  http://people.apache.org/~dblevins/staging-005/rat.xml (ant script with 
 excludes)

 To run the itests:

  http://people.apache.org/~dblevins/staging-005/build.xml


 -David







-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


simple-stateless et al in OpenEJB 3.1.3 release (try 2)

2010-10-15 Thread Jacek Laskowski
Hi,

I've been trying out the latest release candidate (OpenEJB 3.1.3
release (try 2)) and failed building the simple-stateless sample. Why
is that? With my bare enduser hat on, it's impossible for me to carry
on. I believe it happens to the other samples too (haven't tried
though).

[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.openejb:javaee-api:jar:5.0-3

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.openejb
-DartifactId=javaee-api -Dversion=5.0-3 -Dpackaging=jar
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
  mvn deploy:deploy-file -DgroupId=org.apache.openejb
-DartifactId=javaee-api -Dversion=5.0-3 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) org.superbiz:simple-stateless:jar:1.1
2) org.apache.openejb:javaee-api:jar:5.0-3

--
1 required artifact is missing.

for artifact:
  org.superbiz:simple-stateless:jar:1.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache-m2-snapshot (http://repository.apache.org/snapshots)



[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Oct 15 11:38:17 CEST 2010
[INFO] Final Memory: 13M/81M
[INFO] 

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl


Re: buildbot failure in ASF Buildbot on openejb-trunk-ubuntu

2010-08-07 Thread Jacek Laskowski
On Fri, Aug 6, 2010 at 11:29 PM, Thiago Veronezi thi...@veronezi.org wrote:

 I didnt do it, but you can check the email from Daniel Haischt below...

Thanks. http://issues.apache.org/jira/browse/INFRA-2917

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: modernize build?

2010-08-06 Thread Jacek Laskowski
On Fri, Aug 6, 2010 at 6:56 AM, David Jencks david_jen...@yahoo.com wrote:
 Would anyone mind if I updated the poms to use the latest maven stuff like 
 apache 7 pom and eliminate some of the warnings from maven 3?

+1

How do I know what changes it introduces versus what's already
available? I believe the main benefit is the current repo URLs which
should help at deploy stage, isn't it? Are there other benefits from a
developer's (not release manager's) POV?

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: private feature branch

2010-07-10 Thread Jacek Laskowski
On Sat, Jul 10, 2010 at 6:33 PM, Karan Malhi karan.ma...@gmail.com wrote:
 I want to try and create a feature and would like to create a
 private/feature branch to test it. Any suggestions on how to go ahead and do
 this? Any rules which I need to follow?

Use https://svn.apache.org/repos/asf/openejb/trunk/sandbox/ and...be
nice when asked questions from others about your work :-)

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: @SystemException

2010-06-20 Thread Jacek Laskowski
On Sun, Jun 20, 2010 at 7:57 PM, David Blevins david.blev...@visi.com wrote:

 Thoughts?

Good idea.

Would there be a complimentary XML element? I believe there would.
What will happen to a SFSB when a system exception has been thrown and
@SystemException(discard=false) is set? I can't envision any troubles
atm, but that's where we should look for some if any, isn't it?

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: JCDI sandbox

2010-06-13 Thread Jacek Laskowski
On Sun, Jun 13, 2010 at 4:15 AM, David Blevins david.blev...@visi.com wrote:

 A much larger vision is that I'd really love to take EJB and break it up into 
 tiny little pieces.  It's difficult to describe without writing a big 
 manifesto.  I in fact have one that I started in July last year but never 
 finished an never published.  I went ahead and published it anyway:

 http://blog.dblevins.com/2010/06/if-software-is-pizza-ejb-is-house.html

 I don't think it adequately expresses the conecept, but it's a start.

I've read the blog entry and it was a thought-provoking reading which
I loved. Following your metaphor(s), it was kind of having seen a
pizza without having been able to taste it :) I'm too thought about
something similar and was wondering what the starting point would be -
there should be some kind of a DI container and the rest would be
injected at appropriate places. Is XBean what fullfils the
requirements? I'd love if OSGi was somehow involved that could mean
OSGi+DI should be somehow merged and become THE starting place for the
rest.

Would you elaborate a bit more on the following:

All is fine until your bean throws a runtime exception and the
container decides to rollback the current transaction on your behalf.

Why is it an issue? Why would I not want to have it? What's the scenario?

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: JCDI sandbox

2010-06-12 Thread Jacek Laskowski
On Fri, Jun 11, 2010 at 7:51 PM, David Blevins david.blev...@visi.com wrote:

 On Thu, Jun 10, 2010 at 10:44 PM, David Blevins david.blev...@visi.com 
 wrote:

 I'd like to experiment with integrating JCDI much deeper into the core code.
...
 Reza (Resin guy) and I have chatted about this and share a similar vision for 
 both the two specs and how to implement them.  Who is atop who is almost 
 irrelevant in the sense that the two models are essentially the same.  Both 
 are proxy based component models with several container features 
 (interceptors, decorators, etc) interjected on method calls with some 
 transactional awareness and dependency.


Am I right that you're interested in pursuing better
OpenEJB-Tomcat-OWB integration? Is that what you meant having said
playing with JCDI and deeper into the core code or are you
following Resin/Reza's idea to lay one on the other, be it EJB3.1 atop
CDI or vice versa?

 The biggest difference between them is Sun owns EJB and Redhat owns JCDI.

Does it really matter? I've never been involved in such a thinking who
owns what, and as a matter of fact I don't like the the proliferation
of managed bean-centered specs like JSR-299 (CDI), JSR-330 (DI) and
there was something else I don't remember now. When I first touched
the specs I could get my head around them and was wondering why there
are so many of them. What's your take on it? (asking as you're closer
to the sources :))

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


Re: JCDI sandbox

2010-06-11 Thread Jacek Laskowski
On Thu, Jun 10, 2010 at 10:44 PM, David Blevins david.blev...@visi.com wrote:

 I'd like to experiment with integrating JCDI much deeper into the core code.

Would you share what you're up to? I'm playing with the spec and Weld
as we speak and would like to see how far you're. I like the idea
found in Resin where AFAIUI they've laid EJB 3.1 atop CDI (with some
extensions).

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Kapituła Javarsovia 2010 - http://javarsovia.pl


  1   2   3   4   5   >