Skip to content

Instantly share code, notes, and snippets.

Avatar

David Blevins dblevins

View GitHub Profile
View com.sun.ts.tests.ejb30.lite.basic.stateless.txt
[INFO] --- gmaven-plugin:1.5:execute (javatest) @ openejb-tck ---
[INFO] Get property: testSectionsFile=/Users/dblevins/work/tckfun/tomee-tck/./sections.properties
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.ejb30.lite.basic.stateless
[INFO] Require property: tests
[INFO] Get property: tests=com.sun.ts.tests.ejb30.lite.basic.stateless
[INFO] Executing JavaTest...
[INFO] Get property: openejb.home=target/apache-tomee-plume-8.0.3-SNAPSHOT
[INFO] Get property: jakartaee.cts.home=/Users/dblevins/work/tckfun/jakartaeetck9
[INFO] Get property: jakartaee.ri.home=/Users/dblevins/work/tckfun/glassfish6/glassfish
View jakarta-packages.adoc

Status of Jakarta’s javax packages

Complete Renamed Packages

Package

Specification

Exclusions

javax.activation

JavaBeansTM Activation Framework

View J2EE 1.2 RMI-IIOP.adoc

RMI-IIOP. The RMI-IIOP subsystem is composed of APIs that allow for the use of RMI-style programming that is independent of the underlying protocol, as well as an implementation of these APIs that supports both the J2SE native RMI protocol (JRMP) and the CORBA IIOP protocol. J2EE applications can use RMI-IIOP, with the IIOP protocol support, to access CORBA services that are compatible with the RMI programming restrictions (see the RMI-IIOP spec for details). Such CORBA services would typically be defined by components that live outside of a J2EE product, usually in a legacy system. Only J2EE application clients are required to be able to define their own CORBA services directly, using the RMI-IIOP APIs. Typically such

View tomee-8.0.0-microprofile-no-front-end.diff
1c1
< drwxr-xr-x 0 dblevins wheel 0 Sep 13 15:11 apache-tomee-microprofile-8.0.0/
---
> drwxr-xr-x 0 dblevins wheel 0 Sep 13 13:53 apache-tomee-microprofile-8.0.0/
6c6
< drwxr-xr-x 0 dblevins wheel 0 Sep 13 04:31 apache-tomee-microprofile-8.0.0/lib/
---
> drwxr-xr-x 0 dblevins wheel 0 Sep 13 13:55 apache-tomee-microprofile-8.0.0/lib/
14c14
< drwxr-xr-x 0 dblevins wheel 0 Sep 13 04:31 apache-tomee-microprofile-8.0.0/webapps/
View tomee.conf.py
# This is the config file for the TomEE / OpenEJB project.
tomee_mail_notifications = []
tomee_irc_notifications = []
def tomee_builder_name():
import sys
return sys._getframe(1).f_code.co_name.replace("_", "-")
View newcontributors.sh
#!/bin/bash
# Create a tmp place to work
TMP=/tmp/tomee-$RANDOM
trap "rm -rf $TMP" SIGINT SIGTERM SIGHUP SIGKILL SIGSTOP
mkdir $TMP && cd $TMP
# clone the repo
git clone git@github.com:apache/tomee.git &&
cd tomee
View purl
#!/bin/bash
##-----------------------------------------
##
## Small script to help make it slightly faster
## to apply Github PRs to a local clone.
##
## Purl is short for PR URL. Usage is simple:
##
## $ cd tomee-site-generator
View morethoughts.java
// The extra .stream() feels logically equivalent to..
// Convert annotations on each method's params
clazz.getMethods().stream()
.flatMap(method -> method.getParameters().stream()) // <---
.flatMap(parameter -> parameter.getAnnotations().stream()) // <---
.forEach(converter);
// needing to call .iterator() in a loop
View 1.OnlyMethodReferencesButVerbose.java
// Convert annotations on each method's params
clazz.getMethods().stream()
.map(CallableDeclaration::getParameters)
.flatMap(Collection::stream)
.map(Parameter::getAnnotations)
.flatMap(Collection::stream)
.forEach(converter);