Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 10
Registered: ‎10-20-2009
My Device: Not Specified
Accepted Solution

Testing a web application using Blackberry Emulator, is it possible?

Hello everybody,

I have a small java web application running on Apache Tomcat on a local machine. It is running well on my PC, but it is targeted to Blackberry devices. Before I put into our web server, I want to test it on a Blackberry 8300 and 8900 emulators. Is that possible? I have developed this web application using Spring on Netbeans IDE, i.e. no Blackberry special tool.

I appreciate every hint and tip!

 

Thank you.

mazen.

New Developer
Posts: 43
Registered: ‎07-29-2008
My Device: Not Specified

Re: Testing a web application using Blackberry Emulator, is it possible?

Hello,

 

I am not a Java developer but have you tried the Eclipse Plug-in?

New Developer
Posts: 10
Registered: ‎10-20-2009
My Device: Not Specified

Re: Testing a web application using Blackberry Emulator, is it possible?

[ Edited ]

Hi,

Thank you for your reply..

I have installed the plug-in in Eclipse already, but my application is developed in NetBeans.

My question was whether one can open a given website (in my case a web application) using the Blackberry Emulator in an independent-way of the development process. That is, I have a url address ( localhost:8080/MyWebApplication/index.htm), can I anyway open this url using a Blackberry Emulator? I need to test how the Emulator reacts to the database connections in my machine.

 

Thanks again

Mazen

New Developer
Posts: 43
Registered: ‎07-29-2008
My Device: Not Specified

Re: Testing a web application using Blackberry Emulator, is it possible?


mam2009 wrote:

Hi,

Thank you for your reply..

I have installed the plug-in in Eclipse already, but my application is developed in NetBeans.

My question was whether one can open a given website (in my case a web application) using the Blackberry Emulator in an independent-way of the development process. That is, I have a url address ( localhost:8080/MyWebApplication/index.htm), can I anyway open this url using a Blackberry Emulator? I need to test how the Emulator reacts to the database connections in my machine.

 

Thanks again

Mazen


 

I don't think so. Because the simulator only connects to localhost with the plug-in.

New Developer
Posts: 10
Registered: ‎10-20-2009
My Device: Not Specified

Re: Testing a web application using Blackberry Emulator, is it possible?

Thanks again for your reply,

I have made the Simulator working well but in another Tomcat installation and port than the running Eclipse-Tomcat-Blackberry Simulator. It is working ell, except that I have some JavaScript problems, though :-)

 

Thanks again

Mazen

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Testing a web application using Blackberry Emulator, is it possible?

You can also use the Eclipse plugin to debug any arbitrary URL, it doesn't have to be a website built in Eclipse..

 

Check out the following link for a walk through on how to use the tool.

http://www.blackberry.com/DevMediaLibrary/view.do?name=PluginforEclipse

 

And this should get you going on how to debug a remote web page:

http://docs.blackberry.com/en/developers/deliverables/9328/Debug_remote_web_pages_723308_11.jsp

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter