Java® applications for BlackBerry® devices can use standard HTTP, HTTPS, and TCP socket protocols to establish connections over the wireless network. When an application establishes a connection over the wireless network, it can use one of two wireless gateways to proxy the connection to the Internet or to the corporate intranet. You can design your application to rely on the default gateway that is available to the BlackBerry device user, or you can customize your code to choose a preferred gateway. Design your application to explicitly choose the preferred gateway for the connection and use the default gateway if the preferred method is not available. This might minimize the number of network connection issues that your customers face and let your application use a consistent connectivity model across all network types and wireless operators.