Skip to main content

XML JSR172

8 replies [Last post]
glachac
Offline
Joined: 2007-01-05

Does Advanced MR2 support JSR 172 (ie XML web services)? The non-advanced claims to in the feature list, but I don't see it in the advanced. Is there a feature parity between the two releases or no?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
meng_xx
Offline
Joined: 2005-08-17
hinkmond
Offline
Joined: 2003-12-01

Hi glachac,

MR2 is in development and not released yet. Eventually you will see JSR172 in the repository for phoneME Advanced, but you are seeing it being developed live and is not even alpha yet.

There will be future parity between phoneME Feature and phoneME Advanced. But, you'll see it announced as more pieces are added to get to that goal...

Thanks for the question,

Hinkmond

rueyfarn
Offline
Joined: 2006-02-06

Hi Hinkmond,

Can you give us an update on JSR 172 for phoneME Advanced?

I think most of the dependent jars for JSR 172 for CLDC/MIDP can be reused except perhaps the http transport. Have you tried and can you comment on Apache Web Service subproject Mirae?

As SOA becomes more and more polpular, I think the need for Java ME CDC devices to support Web Service will get stronger. I for one would like to see tool like wscompile supported for phoneME advanced.

Thanks.
Rueyfarn

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi Hinkmond,
>
>
> Can you give us an update on JSR 172 for phoneME Advanced?
>

Yes, JSR 172 is actually one of the new optional packages (OPs) being
added to the current repository for phoneME Advanced MR2 (starting just
recently--just last week). It's bleeding edge work being done right
now, so you should only try this at your own risk:

svn co https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk midp
svn co https://phoneme.dev.java.net/svn/phoneme/components/cdc/trunk cdc
svn co https://phoneme.dev.java.net/svn/phoneme/components/tools/trunk
tools
svn co https://phoneme.dev.java.net/svn/phoneme/components/jump/trunk jump
svn co
https://phoneme.dev.java.net/svn/phoneme/components/jsr172/branches/jsr1...
jsr172

cdc cdc/build/linux-x86-generic
make \
J2ME_CLASSLIB=basis \
USE_JSR_172=true \
CVM_INCLUDE_MIDP=true \
CVM_INCLUDE_JUMP=true \
QT_TARGET_DIR=/usr/share/qte \
QTEMBEDDED=true \
QTOPIA=false
...

NOTE: You'll need to build your own Qt/Embedded 2.3.10 library
ftp://ftp.trolltech.com/qt/source/qt-embedded-2.3.10-free.tar.gz
Untar and see qt-2.3.10/doc/html/qt.html
More detailed info coming up in our upcoming MR2 dev b14 release.
This step is non-trivial to do and beyond the scope of this forum.

> I think most of the dependent jars for JSR 172 for CLDC/MIDP can be reused except perhaps the http transport. Have you tried and can you comment on Apache Web Service subproject Mirae?
>

Sorry, I have not tried Apache Mirae.

> As SOA becomes more and more polpular, I think the need for Java ME CDC devices to support Web Service will get stronger. I for one would like to see tool like wscompile supported for phoneME advanced.
>

Thanks for the feedback. This is an interesting comment. Do you think
that the W3C/Web Services model (with wscompile, WSDL & the whole nine
yards) is the way that phoneME Advanced should go, or do you see RESTful
Web services as being a better alternative. We've seen feedback that
says RESTful (even with JSON) is better than full-blown the W3C-style
Web Services WS-* model.

Comments? Anyone else have opinions out there about Web Services & pMEA?

Thanks,

Hinkmond

> Thanks.
> Rueyfarn
> [Message sent by forum member 'rueyfarn' (rueyfarn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=210055
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

lua2010
Offline
Joined: 2006-11-16

Hi Hinkmond,

is it possible to use JSR172 with J2ME_CLASSLIB=foundation?

Andreas

Hinkmond Wong

Hi Andreas,

phonemeadvanced@mobileandembedded.org wrote:
> Hi Hinkmond,
>
> is it possible to use JSR172 with J2ME_CLASSLIB=foundation?

Yes. Good point! You should be able to just do this:

make \
J2ME_CLASSLIB=foundation \
CVM_INCLUDE_JUMP=true \
USE_JSR_172=true

(No need for MIDP or QT)

I was thinking of JSR 177 (SATSA), where you need a dialog box to pop up
according to the spec. and need a GUI.

JSR 172 needs no GUI, so that should work.

Let us know on this alias if you run into any troubles.

Thanks,
Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

lua2010
Offline
Joined: 2006-11-16

Hi,

the build on windows failes (Without USE_JUMP=true USE_JSR_172=true the build succeeds )

[i]$ make J2ME_CLASSLIB=foundation USE_JUMP=true USE_JSR_172=true
Unable to access jarfile /cygdrive/e/phoneme/tools/output/Configurator.jar
cat: ../../build/win32-x86-vc7/./jsr172/generated/.constant.class.list: No such file or directory
... mkdir ../../build/win32-x86-vc7/./generated/javavm/runtime
make: *** No rule to make target `/cygdrive/e/phoneme/jump/src/win32/impl/os/native', needed by `../../build/win32-x86-vc7/./generated/empty.mk'. Stop.
[/i]
Andreas

cjplummer
Offline
Joined: 2006-10-16

Currently CDC builds on win32 do not support JUMP, MIDP, or the optional JSRs.