►
Description
Ivar Grimstad explains Namespace in this break session at JakartaOne Livestream 2020
Get Social!
Website: jakarta.ee
Subscribe: https://www.youtube.com/user/EclipseFdn
Follow us on Twitter: https://twitter.com/JakartaEE
Like us on Facebook: https://www.facebook.com/JakartaEE/
Join us on LinkedIn: https://www.linkedin.com/groups/13597
Tag us: #JakartaEE
A
Okay,
I
think
we're
live
so
welcome
to
this
session
on
the
namespace
change.
What
I'm
going
to
do
here
is
entirely
in
code
and
I'll
do
the
namespace
switch
and
it's
an
entire
application.
Here
I
have
a
a
rest,
endpoint
and-
and
this
resident
boys
are
using
an
an
ejb
to
find
a
greeting.
This
hiv
is
then
again
using
a
jpa
repository
where
I
do
do
a
quick
criteria,
query
to
the
database
and
and
get
the
result
and
display
it.
A
I
also
have
a
cdi
extension
here
to
do
a
log
message
when
it's
going
live.
A
So
it's
a
lot
of
things
happening
here
and
and
the
reason
for
it
is
that
here's,
the
message
that
cdi
extension
is
doing
so
I'm
going
to
redeploy
this
application
very
quickly
and-
and
you
can
follow
in
the
log
here
when
it
does
this-
is
that
it
will
write
things
in
in
the
blog
from
this
hi
there
you
see,
so
the
cdi
extension
is
a
hooking
to
to
checks
for
this
duke's
annotation,
which
is
something
a
customer.
I
made
just
to
show
an
example.
A
So
so
the
application
is
super
simple
I'll
go
in
here
and
execute
it.
So
it
it's
called
complete
duke
and
it
has
a
hello
world
and
it
says
how
did
you
carry
it
and
and
the
jacari
message
is
coming
from
the
database.
A
So
so
let
me
just
go
in
there
and
do
this
query
and
you
can
see
I
I
have
the
message:
how
did
you
correlate
from
the
database?
A
So
let's
go
and
change
this
one
to
a
jakarta,
e9
application-
and
the
first
thing
I
have
to
do
then,
is
to
go
in
here
and
change
from
eight
to
nine
and
then
I'll
I'll
update
my
references
in
the
id
by
reloading
this
maven
palm
and
as
soon
as
this
has
been
uploaded,
you'll
see
I'm
starting
to
get
completion
errors
and
that
is
totally
accepted.
A
So
the
first
thing
I
have
to
do
after
updating
to
jakarti
is
to
fix
the
compilation,
errors
and
you
can
see
it's
all
the
javax
imports.
So
let's
do
this
manually
here
and-
and
you
can
see
you
have
to
do
a
little
bit
careful.
So
you
choose
the
right.
A
One
just
go
through
all
the
classes
here
and
check
for
these
completion
errors,
and
you
can
see
that
it's
the
javax
namespace
and
the
ide
is
helping
me
here
to
figure
out
that
the
jakarta
current
version,
so
so
here
make
sure
you
choose
the
the
correct
one.
Here
is
the
cdi
extension.
So
it's
the
cdi
extension
there
and
and
just
go
through
all
of
them
and
and
fix
the
imports
here.
It
resolved
all
of
them
to
the
jakarta
persistence
for
the
repository,
and
you
see
it.
A
It's
not
necessarily
all
java
x
dependencies.
You
have
to
change
it's
it's
all
the
jakarta
specific
one
there
are.
There
are
a
couple
of
ones
that
are
still
in
in
the
sdk,
so
so
you
can
can
use
these
so
so
be
careful
that
you
don't
replace
javax
with
jakarta
everywhere,
then
you
probably
will
get
some
problems
as
well.
A
Here
it
produces
is
another
one
because
you
don't
want
a
cdi
producer
in
this
case,
it's
a
it's
producing
application
json
and
here
I
go
through
the
application
entirely
and
and
the
jexuras
application
annotation
here
also
so
there
I've
fixed
all
the
imports,
and
you
would
think
since
we've
been
talking
so
much
about
the
namespace
and
all
these
import
statements
that
I'm
done
now.
A
But
that's
not
the
case.
There
is
more
and
what
do
we
have
more
well
think
about
the
xml
files.
These
have
name
spaces
as
well,
so
so
what
we
need
to
do
here
is
to
change
to
the
jakarta
namespace
and
it's
pretty
simple.
A
So,
of
course
you
can
do
this
by
search
and
replace
and
and
and
and
fix
it
I'll
just
do
it
manually
here
and
to
show
it
for
you
and
be
aware
of
the
versions,
and
I
I
think
I
also
need
to
change
the
actual
name
here.
No,
that's!
Okay!
This
one
is
fine
scheme
location.
A
Yes,
sorry
jakarta,
so
we
put
everything
here
in
in
jakarta,
ee,
xml
and
and
also
the
the
version
of
the
schema,
and
this
is
persistent
xml,
but
there
are
more
schemas
and
you
can
find
them
all.
Just
by
going
to
jakarta.e,
schemas
and-
and
here
you
will
have
a
complete
list
of
all
the
name
sources
involved
and
the
jakarta
e9
name
switches
as
you
can
find
here.
So
you
have
the
the
updated
version
of
all
of
them
here
and
and
and
and
as
you
saw,
the
one
I
did.
A
Some
changes
I
was
using
here
was
the
persistence
one.
A
A
So
if
you
have
properties
that
are
prefixed,
you
need
to
fix
those
as
well
so
go
through
the
properties
and
and
make
sure
that
all
these
are
are
okay,
so
we're
getting
there
it's
closer,
but
there's
also
one
thing:
if
you
remember
the
cdi
extension
I
I
was
using
that
is
defined
here
in
this
marker
file,
and
this
marker
file
has
the
name
javax
enterprise
inject.
A
A
I've
gone
through
the
persistence,
the
xml
file,
if
I
have
other
web,
xml
or
or
other
beams,
xml
or
etc.
I
need
to
change
this,
those
as
well.
I
fixed
the
namespaces,
and
this
is
just
before
the
because
the
catalog
isn't
really
updated
here
or
maybe
I've
written
something
wrong.
Let's
just
check
now
it
should
be
fine,
so
I
have
the
in
the
next
cases.
A
The
property
is
the
marker
files
and
I
think
I'm
pretty
much
done
so
then
I
can
deploy
it
not
to
a
jacari
8
runtime
anymore,
but
a
jakarta
e9
and
I
have
glassfish
rc2
here
so
I'll
just
add
the
artifact
to
this
application
and
then,
let's
see
if
it
will
run
I'm
a
little
bit
worried
about
the
that
I
had
this
error
in
the
namespace,
but
I
I
think
it
it
has
to
do
with
the
catalog
isn't
updated
yet.
So,
let's
look
at
this,
I
haven't
missed
a
slash.
A
Yes,
thank
you
very
much
what
you,
what
you
should
do
without
the
help
from
the
audience
and
obviously
everything
is
green.
Nice.
Thank
you
and
then
let's
it's
http.
I
think
it's
hps
now
so
let's
redeploy
it
and
while
it
redeploys,
we
can
also
look
for
the
cdi
extension
and
see
if
it
works
here-
and
you
can
see
here,
it
says
hi
there
right.
So
the
the
cd
extension
works
with
the
jakarta
name
and
let's
have
a
look
at
the
application.
A
So
go
back
here
to
the
glassfish.
You
can
see
it.
It
is
the
version
six
and
go
to
the
complete
duke
hello,
and
it
says,
oh
my,
it
says
hello
to
jicari8.
Well,
we
gotta
fix
that
as
well.
So
you
see
it's
not
enough
to
just
look
at
your
code.
You
need
to
look
at
your
data
as
well,
because
it
may
be
that
you
have
some.
A
Let
me
see
if
I
can
find
the
database
thingy.
Oh
my
god,
where
is
it.
A
I
think
I
had
it
somewhere
kind
of
the
screen
her
screws
up
for
me.
A
A
There
we
go
so,
let's
open
it
up,
oh
there
we
go
and
to
a
gray
console
deselect
from
great
thing.
There
you
go
and
you
can
see
here
it.
It
says.
How
did
you
create
so
do
remember
that
you
may
have
some
dynamic
things.
A
You
may
have
some
class
names
here
or
or
class
paths
or
or
something
so
you
may
need
to
to
update
this
stuff
in
your
database
in
order
to
have
your
application
to
work
properly
as
well,
and
now
it
says
hello
to
jakarta,
e9
and
I'll
actually
do
one
more
update
and
that
is
do
hashtag,
embrace
jakarta,
tweet.
A
Let
me
see
tweet
embrace
jakarta,
and
that
is
my
message
for
today
when
you've
done,
the
changes
do
tweet,
embrace,
jakarta
and
we'll
make
you
notified.
A
So
that
was
pretty
quick
and
I
think
we
are
almost
out
of
time.
So
I
hope
you
could
follow
this
and
the
next
session
will
be
sebastian
dashner
doing
some
live
coding
and
testing
with
joy.
So
please
do
enjoy
that
session
and
I'll
see
you
again
here.
A
A
And,
of
course,
all
this
code
is
available
on
my
github
and
you
can
find
it
there
I'll
see.
If
I
can
quickly,
you
can
find
it
on
on
github,
so
it's
called
complete,
duke
and
it
has
even
has
a
tutorial.
You
can
try
it
from
from
beginning
to.