Hi All,
I am in the process of designing/developing an Architecture by which I am able to integrate a standard EJB application with WAP (Wireless Application Protocol)/GPRS.
Does anybody would have simlar experiences and can tell me the problems they faced during the implementation.
Regards,
Neeraj Gupta
Email: neerajgupta at india dot infogain dot com
URL: www.infogain.com
-
Integrating EJB with WAP/GPRS (23 messages)
- Posted by: Neeraj Gupta
- Posted on: July 24 2000 11:12 EDT
Threaded Messages (23)
- Integrating EJB with WAP/GPRS by anil datt on July 24 2000 16:02 EDT
- Integrating EJB with WAP/GPRS by Thiru Raghavan on August 15 2000 04:29 EDT
- Integrating EJB with WAP/GPRS by Madhu Sudhan on August 19 2000 10:09 EDT
- Integrating EJB with WAP/GPRS by Jagadish Dhulipala on January 10 2001 16:17 EST
- Integrating EJB with WAP/GPRS by Thiru Raghavan on August 15 2000 04:29 EDT
- Integrating EJB with WAP/GPRS by Madhure Kumar on July 25 2000 14:31 EDT
- Integrating EJB with WAP/GPRS by Julius Victa on August 05 2000 00:09 EDT
-
Integrating EJB with WAP/GPRS by nag sankar on August 08 2000 09:51 EDT
-
Integrating EJB with WAP/GPRS by Sankar Rao on August 28 2000 08:01 EDT
- Integrating EJB with WAP/GPRS by Uday Kumar on August 28 2000 07:48 EDT
- Integrating EJB with WAP/GPRS by nag sankar on August 31 2000 04:45 EDT
-
Integrating EJB with WAP/GPRS by Sankar Rao on August 28 2000 08:01 EDT
-
Integrating EJB with WAP/GPRS by nag sankar on August 08 2000 09:51 EDT
- Integrating EJB with WAP/GPRS by Julius Victa on August 05 2000 00:09 EDT
- Integrating EJB with WAP/GPRS by nag sankar on July 28 2000 10:35 EDT
- Integrating EJB with WAP/GPRS by John Walsh on July 31 2000 17:48 EDT
- Integrating EJB with WAP/GPRS by satender rawal on August 01 2000 06:12 EDT
- Integrating EJB with WAP/GPRS by anindita goswami on August 22 2000 03:54 EDT
- Integrating EJB with WAP/GPRS by Sajid Husain on August 17 2000 05:18 EDT
- Integrating EJB with WAP/GPRS by nag sankar on August 17 2000 22:52 EDT
-
Integrating EJB with WAP/GPRS by Sajid Husain on August 18 2000 09:23 EDT
-
Integrating EJB with WAP/GPRS by Anirban Chakrabarti on August 19 2000 06:22 EDT
- Integrating EJB with WAP/GPRS by Neeraj Gupta on August 20 2000 07:22 EDT
- Integrating EJB with WAP/GPRS by nag sankar on August 21 2000 06:08 EDT
-
Integrating EJB with WAP/GPRS by Anirban Chakrabarti on August 19 2000 06:22 EDT
-
Integrating EJB with WAP/GPRS by Sajid Husain on August 18 2000 09:23 EDT
- Integrating EJB with WAP/GPRS by nag sankar on August 17 2000 22:52 EDT
- Integrating EJB with WAP/GPRS by Wojciech Ozimek on August 21 2000 08:00 EDT
- Integrating EJB with WAP/GPRS by Sanjay Joshi on August 31 2000 22:06 EDT
- Integrating EJB with WAP/GPRS by Madhure Kumar on May 26 2001 04:30 EDT
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: anil datt
- Posted on: July 24 2000 16:02 EDT
- in response to Neeraj Gupta
Hi Neeraj,
I converted a standard EJB application with Html interface to a WAP interface. This was with the Weblogic App server. The JSP's/Servlets used to generate the XML/html were generating the XML/WML for WAP. It was pretty neat with the seperate server on a different port serving the NOkia server.
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Thiru Raghavan
- Posted on: August 15 2000 04:29 EDT
- in response to anil datt
Hi!
My name is thiruraghavan. I am working in bangalore.
Presently i am working on one project which is a wap app.
Here i am using the tools as wml,servlets.
But the requirement is to use EJB also. Here when ever the req. or res. comes to the servlet it in turn should call the
EJB part and the process should continue.
I have less idea on this type of things.
Now the whole flow is like this.
WML content comes to th Servlet which uses the EJB and send the result to the Servlet and that in turnsends to the Client as WMl context.
Can you give me idea how i want to invoke the ejb in servlet
and what is needed to test and how.
Send the responce to my id. thiru_11 at mailmetoday dot com
thank you
raghavan.
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Madhu Sudhan
- Posted on: August 19 2000 22:09 EDT
- in response to Thiru Raghavan
Hi thiru
In the servlet u instantiate the EJBean (Better to go for a state ful session bean) and do the rest of processing after obtaining the refernce ,as usually we do.
In my personal project(online-virtual-shop)I've created one stateful session bean and in the servlet Init method I looked up (Context.lookup) for the bean. Then in my doGet/doPsot methods I created the bean. After creating, I used as it was normal one.I think I'm clear.Do shout if any probs..at knvms at hotmail dot com
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Jagadish Dhulipala
- Posted on: January 10 2001 16:17 EST
- in response to anil datt
Hi All,
Iam developing UI for a unified messaging system.
Modifying existing jsp's to make it compatible to wap. But the Nokia toolkit complains about two do tags in same card. How to work around it?
Thanks -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Madhure Kumar
- Posted on: July 25 2000 14:31 EDT
- in response to Neeraj Gupta
HI I have worked on WAP for a year or so I have used Servlets and Nokias Wap Gateway to do that.
If you'd give some details I will surely try and HElp you
madhure_k@hotmail.com -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Julius Victa
- Posted on: August 05 2000 00:09 EDT
- in response to Madhure Kumar
Hi! I am a new WAP application developer and I need some help.
My WAP application needs to send a string of characters
to a database in the internet. Also, the date and time when the string was sent must also be stored in the database. Do you guys have any suggestions on how I can do this?
Another thing, how can I implement security in my WAP application? Like, how can I let only users with the correct username and password to use my WAP application?
Please let me know how can I implement these. Thanks again!
Best regards,
Julius A. Victa -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: nag sankar
- Posted on: August 08 2000 09:51 EDT
- in response to Julius Victa
Hi.,
Assume that You have a JSP which generates a WML page and which you can see in a WAP enabled hand phone.,
You have to develop WML cards,which can accept a string (say thro an Input element).You now can submit this string to the Internet server by http -post (WML has http post ,form functions ..refer WML development articles )
On the server side,when you submit this string ,you should call a servlet or another JSP,which can take ur input and read the time/date from the system parameters and then write it in to a DB table using say JDBC.
Handphone-->WMLPAGE-->JSP/Servlet-->JDBC-->DB
WAP 1.2 compliant gateways support WTLS security layer which is similar to the SSL security that we have for the Web servers.
Hope this helps..
Nag Sankar
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Sankar Rao
- Posted on: August 28 2000 08:01 EDT
- in response to nag sankar
Hi Sankar
My name is Sankar A.
I am not able to display the bmp/wbmp image using the <img>.
The value of the 'alt' attribute is shown in the screen.
I am using Java Web Server 2.0 with servlets.
Do I have to configure the Web Server. If yes how?
Regards
Sankar
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Uday Kumar
- Posted on: August 28 2000 19:48 EDT
- in response to Sankar Rao
hello Sankar,
This seems to be a problem in the MIME type configuration of your web server. Normally there would be a mime.conf file in your web server's installation directories which would contain a list of mime types that are served by your server and the corresponding applications that can process them. You might want to add the bmp/wbmp Mime type to that file.
Thanks
-U -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: nag sankar
- Posted on: August 31 2000 04:45 EDT
- in response to Sankar Rao
Hi .,
As Uday Kumar has pointed out, You need to set the MIME types in your web server.
Take a look at the information in the following web site link
www.Wapuseek.com-->WapFaq |-->Developer related questions
|--> Graphics
http://www.wapuseek.com/wapfaq.cfm?uniq=5971
Hope this helps.
N.SANKAR -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: nag sankar
- Posted on: July 28 2000 10:35 EDT
- in response to Neeraj Gupta
Hi.,
Decouple the presentation logic from Business logic using JSP.To talk to the WAP gateway , you need to deliver the output from your server as WML(Wireless markup language).
You can adopt two methods.First one is that you can write JSP to so that it generates WML directly which is then passed to the WAP gateway[Instead of HTML]
The second method is that you can generate the output from JSP in XML format. Then you can apply XSL/T (Style sheet) templates to convert generated XML to WML.IBM Lotus XSL processor,Cacoon are some of the good XSL processors.
The second approach would be better, if you need to change the output format to HTML or cHTML (iMode)or say XHTML in your project later.This enables re-use during a change.
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: John Walsh
- Posted on: July 31 2000 17:48 EDT
- in response to Neeraj Gupta
You might want to take a look at IBM's Transcoding Server. I'm evaluation it for a similar project and it looks very interesting.
Here's a URL
http://www-4.ibm.com/software/webservers/transcoding/ -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: satender rawal
- Posted on: August 01 2000 06:12 EDT
- in response to Neeraj Gupta
hi there,
What is WAP , would u please elaborate on this. I am new to this field but iam keen on integrating ejb with wap and all other new technologies.
Neeraj please help me
Thanx in adv.
Satender -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: anindita goswami
- Posted on: August 22 2000 03:54 EDT
- in response to satender rawal
hi satender,
as u r new in the field of WAP you better visit the sites www.wapforum.org and www.nokia.com.
hope this will help
anindita -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Sajid Husain
- Posted on: August 17 2000 05:18 EDT
- in response to Neeraj Gupta
Hi All,
I've been working on J2EE technologies (EJBs, Servlets, JSPs, JDBC etc.) for quite some time, and I'm interested in WAP, though I'm new to WAP.
I would like to know more information about the setup required to develop WAP applications. I mean, from resource point of view, what is required. Even if I'm able to develop apps, how am I going to test it. Will I be able to test those apps using my WAP enabled mobile phone? What are the software do I need to have to test the WAP apps?
Please help me.
Cheers,
Sajid. -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: nag sankar
- Posted on: August 17 2000 22:52 EDT
- in response to Sajid Husain
Hi Sajid,
To know what WAP is all about and further understand its details ,I suggest that you first visit the following web sites which has got excellent information.
1.www.wapforum.org
2.www.anywhereyougo.com
3.http://www.wap-uk.com/Developers/Tutorial.htm
4.http://www.wirelessdevnet.com/training/WAP/WML.html
Hope this helps.
N.Sankar -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Sajid Husain
- Posted on: August 18 2000 09:23 EDT
- in response to nag sankar
Hi Sankar,
Thanx for the links. They seem to be very useful.
But I still have one question. Lets say I want to do WAP app development and testing at my work place. What I would like to know is what is required. I mean what h/w and s/w? How can I test my app with a mobile phone?
Thanx in advance.
Cheers,
Sajid. -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Anirban Chakrabarti
- Posted on: August 19 2000 06:22 EDT
- in response to Sajid Husain
i have heard that some simulators are available from Nokia or Motorola where you can simulate or emulate a real time situation. Once I saw an emulator where some demo was given. People are mostly using this kind of emulators for develoment because of the absence of WAP infrastructure. -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Neeraj Gupta
- Posted on: August 20 2000 07:22 EDT
- in response to Anirban Chakrabarti
Aniraban,
In the absence of the WAP infrastructure, You can use the Phone.com's WAP simulator at http://updev.phone.com . You need to register yourself with them.
Regards,
Neeraj Gupta
Email: neerajgupta at india dot infogain dot com
URL: www.infogain.com -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: nag sankar
- Posted on: August 21 2000 06:08 EDT
- in response to Sajid Husain
Sajid.,
You can download Nokia or Phone.com WAP Server emulator.
This comes with a WML Browser and Editor.
But you have to generate the WML Content using JSP/Servlets or using ASP.There are a couple of good articles on How to do this - in the Javaworld web archives.
N.SANKAR
-
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Wojciech Ozimek
- Posted on: August 21 2000 08:00 EDT
- in response to Neeraj Gupta
You can use JSP pages to prepare presentation. If you would like to build multichannel application (presentation on different platforms) consider using XML as a format for passing data between application logic and presentation. In my project case, we were using XSL processor at servlet/JSP level to transform XML into WML, HTML and some other formats. XML is also usefull if you consider to extend your B2C application to B2B solution (i.e. to communicate with other systems, not only user devices).
JSP's and servlet should not contain application logic. Instead they should communicate with stateless session beans layer.
In our project we were using WebLogic app. server,
Xalan XSL engine, Xerces XML parser.
Regards
Wojtek -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Sanjay Joshi
- Posted on: August 31 2000 22:06 EDT
- in response to Neeraj Gupta
Hello Neeraj,
Actually I'm developing a wireless application where I'm using JDOM parser for generting the XML thru data from database and with the use of SAX and LOTUS parser I'm generating the WML with different set of XSLs, depending on the type of browser device where the request is coming from. Uptill now during developmentwhile we're testing the things on simply servletrunner.exe We're using JDK3.0, JSDK2.0, Servlets as server side components and stored procedures for backend(Oracle 8.0) transaction. Now we've to deploy all these stuff on WebSphere. Would u please guide me as how to proceed. Thanks a lot in advance.
Sanjay -
Integrating EJB with WAP/GPRS[ Go to top ]
- Posted by: Madhure Kumar
- Posted on: May 26 2001 04:30 EDT
- in response to Neeraj Gupta
Hi Neeraj
The architecture would be rather simple.
I am not to familiar withthe EJB part (still new to it)but on the other hand here is what u should be looking at
Quesion first
1) do u have only one client in mind say only the Cellphones or other devices too.
if u have only cell phones inmind then write all your code either in JSP or in Servlets and WML,REASOON this speeds up the communication betweenthe client and the server
dont bother with XML her just use plain WML
if ur looking for design it'll be in ur mail box soon
Answer the question first
Cheers
Madhur