javax
packages
Status of Jakarta’s Complete Renamed Packages
Package |
Specification |
Exclusions |
javax.activation |
JavaBeansTM Activation Framework |
javax
packagesPackage |
Specification |
Exclusions |
javax.activation |
JavaBeansTM Activation Framework |
#!/bin/bash -l | |
function log { | |
echo "LOG $(date +"%Y-%m-%d %H:%M:%S") $1" | |
} | |
function fail { | |
log "$1" |
Not specific to this projec, but can be incredibly useful ways to maximizes your time. Mastering the command line is the best way to get things done, quick and cheaply.
Reapeat after me:
#!/bin/bash | |
cd /tmp && | |
git clone https://github.com/apache/tomee.git && | |
cd tomee || exit 1 | |
## | |
## Grab the same revision so we're all comparing the | |
## exact same code | |
## |
import java.time.LocalDate; | |
import java.time.ZoneId; | |
import java.time.format.DateTimeFormatter; | |
import java.util.Date; | |
/** | |
* This pattern has the following benefits: | |
* | |
* - Date formats are referenced as a strong type | |
* - Code completion on patterns |
META-INF/ | |
META-INF/DEPENDENCIES | |
META-INF/LICENSE | |
META-INF/LICENSE.md | |
META-INF/LICENSE.txt | |
META-INF/MANIFEST.MF | |
META-INF/NOTICE | |
META-INF/NOTICE.md | |
META-INF/mailcap.default | |
META-INF/maven/ |
META-INF/MANIFEST.MF | |
META-INF/ | |
META-INF/DEPENDENCIES | |
javaee-api-feature.xml | |
org/ | |
org/apache/ | |
org/apache/openejb/ | |
org/apache/openejb/javaee/ | |
org/apache/openejb/javaee/api/ | |
org/apache/openejb/javaee/api/activator/ |
# | Mapper API | scenario | current | proposed |
---|---|---|---|---|
1 |
Deserialization |
MapperException |
MapperException |
|
2 |
Deserialization |
MapperException |
MapperException |
|
3 |
Deserialization |
MapperException |
MapperException |
# | Jsonb API | scenario | current | proposed |
---|---|---|---|---|
1 |
JsonbCreator |
JsonbException |
JsonbException |
|
2 |
JsonbCreator |
JsonbException |
JsonbException |
|
3 |
Deserialization |
JsonbException |
JsonbException |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.OutputStreamWriter; | |
import java.nio.charset.StandardCharsets; | |
public class Foo { | |
public static void main(String[] args) throws IOException { | |
final char c = 'ñ'; | |
final ByteArrayOutputStream baos = new ByteArrayOutputStream(); |