DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Low-Code Development: Leverage low and no code to streamline your workflow so that you can focus on higher priorities.

DZone Security Research: Tell us your top security strategies in 2024, influence our research, and enter for a chance to win $!

Launch your software development career: Dive head first into the SDLC and learn how to build high-quality software and teams.

Open Source Migration Practices and Patterns: Explore key traits of migrating open-source software and its impact on software development.

Avatar

Navveen Balani

AI , IoT & Blockchain Leader | Google Certified Cloud Fellow at Cittin Data Labs

mumbai, IN

Joined Feb 2010

https://navveenbalani.dev/

About

Over 20 years of experience in building enterprise products using exponential technology, specialising in AI, Blockchain, IoT. Passion for creating innovative products, technical leadership, mentoring and building high quality teams from grounds up. Technical and hands-on skills in Artificial Intelligence , Cognitive Computing, Deep Learning, Big Data technologies, Internet of Things, Large scale enterprise architecture and cloud deployment, product architecture and services engagements. Active blogger @ navveenbalani.com, developerWorks Master Author, Dzone most valuable blogger, Udemy Instructor, Intel IoT dev author. Best Seller Author - Authored the first book on Enterprise IoT , Enterprise Blockchain, Real AI, Google Anthos, co-authored the first book on Apache CXF framework,Spring Framework and multiple IBM Redbooks. For more details, visit my website at https://navveenbalani.dev/

Stats

Reputation: 1033
Pageviews: 362.3K
Articles: 17
Comments: 4
  • Articles
  • Comments

Articles

article thumbnail
LLM Orchestrator: The Symphony of AI Services
Explore how software evolved from monolithic structures to AI's LLM Orchestrator, boosting enterprise efficiency and decision-making.
June 27, 2024
· 2,700 Views · 2 Likes
article thumbnail
Bridging the Gap: The Limits of AI Guardrails in Addressing Human Bias
Generative AI's power and bias highlight the need for technological guardrails alongside broader efforts to confront the enduring challenge of human bias.
March 14, 2024
· 2,930 Views · 2 Likes
article thumbnail
Cloud Computing Trends For 2024
Navigate the evolving 2024 cloud computing landscape with Generative AI Fabric, quantum computing Co-pilot, edge synergy, and sustainable technologies.
December 22, 2023
· 6,971 Views · 7 Likes
article thumbnail
Generative AI 2024 and Beyond: A Glimpse Into the Future
From the rise of Generative AI Fabric to ethics being the new NFR, let's explore what Generative AI technology brings into 2024.
December 8, 2023
· 3,231 Views · 3 Likes
article thumbnail
Modern MLOps Platform for Generative AI
A modern MLOps platform for Generative AI seamlessly integrates the practices of machine learning operations with the unique aspects of generative models.
October 5, 2023
· 1,867 Views · 3 Likes
article thumbnail
Generative AI Project Lifecycle
Discover the detailed lifecycle of a Generative AI project. This blog offers insights into how you can adapt and thrive in this exciting AI landscape.
August 15, 2023
· 3,159 Views · 3 Likes
article thumbnail
Rust and Sustainability: Programming for a Greener Future
This article will delve into Rust's potential for a sustainable future, the hurdles to its adoption, and strategies for a successful transition to Rust.
July 11, 2023
· 2,092 Views · 2 Likes
article thumbnail
The Journey of a Prompt: Lifecycle in Generative AI Systems Through Prompt Engineering
Prompt engineering guides AI responses. Its lifecycle integrates ethical considerations, evolving towards multi-modal inputs for a fair, transparent AI future.
June 22, 2023
· 2,357 Views · 2 Likes
article thumbnail
Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing
This article takes a journey into the future of cloud computing, discussing emerging trends such as autonomous and distributed cloud-generative AI tools.
May 23, 2023
· 7,044 Views · 3 Likes
article thumbnail
From Metaverse to Generative AI: A Journey of Hype, Reality, and Future Prospects
In the tech world, the Metaverse's allure has dimmed, while generative AI, particularly LLMs, is now in the spotlight. Explore why this shift occurred.
May 18, 2023
· 1,838 Views · 2 Likes
article thumbnail
Future of Software Development: Generative AI Augmenting Roles and Unlocking Co-Innovation
Generative AI is revolutionizing software development by augmenting various roles, automating tasks, and accelerating innovation.
May 5, 2023
· 6,638 Views · 3 Likes
article thumbnail
Ethical Prompt Engineering: A Pathway to Responsible AI Usage
Ethical prompt engineering is the process of crafting input queries or prompts for AI models in a way that minimizes biases and promotes fairness.
April 26, 2023
· 2,649 Views · 3 Likes
article thumbnail
Prompt Engineering: Unlocking the Power of Generative AI Models
Prompt engineering is the art of crafting effective input prompts for AI models like GPT-4 or Google AI Bard, enabling accurate and context-aware results.
April 18, 2023
· 4,875 Views · 3 Likes
article thumbnail
From Watson to ChatGPT: AI Chatbots and Limitations
ChatGPT has a long way to go for enterprise adoption. This blog explains the limitations to ChatGPT in its current form.
February 19, 2023
· 2,111 Views · 2 Likes
article thumbnail
Cloud Computing Trends for 2023
Every organization will eventually adopt cloud models. Here are my views on top cloud computing trends that organizations need to watch out for.
December 29, 2022
· 6,514 Views · 3 Likes
article thumbnail
Blockchain Reference Architecture
In this article, explore the layers of blockchain reference architecture, such as application, Smart Contract, integration, distributed ledger, and security.
January 8, 2020
· 35,967 Views · 19 Likes
article thumbnail
Invoke Web Services from Android
This is ongoing blog on Getting Started with Android. In earlier blog, I provided an architecture overview of android application, followed by setting up the development environment for Android and creating and running a simple application. In this blog, I will describe how to invoke web services (soap based services) via Android. In my next blog, I will follow it up with how to invoke REST based services. For trying out the tutorial, you need to have the android development environment setup as mentioned in my previous blog. There are two ways in which invoke web services Raw APIs : Use the HttpClient and XML parser to manually create a soap request and parse the soap response. Using a soap client library : like KSOAP library which does the low level work for parsing and dealing with soap messages – For Android, there is library available at http://code.google.com/p/ksoap2-android/ . Its good to see some active development for KSOAP 2, I remembered I wrote the first article on KSOAP 2 way back in 2003 ( http://naveenbalani.com/index.php/2010/05/deliver-web-services-to-mobiles/)and good to see it back in development for android. I would start development with the later approach, but I plan to use RAW APIs in the follow up post - Download the KSOAP2 library , go to http://code.google.com/p/ksoap2-android/ , click on downloads link on the menu, and download the latest release artifact – http://code.google.com/p/ksoap2-android/source/browse/m2-repo/com/google/code/ksoap2-android/ksoap2-android-assembly/2.5.2/ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar . In the release artifact page, click on “View raw file” and select “Save Link as” and download the jar file which has all the required dependencies. Next we would create a sample android project which would invoke a .NET web service. I decided to host a simple .NET web service in my website , so it would easier for you all to try out the sample . The web service is available at http://naveenbalani.com/WassupAndroid.asmx This is a simple .NET service, with one operation called todayMessage(), which display “Wassup Android from a .NET application “ as output. To create an andrioid project. Start eclipse. Select File > New > Project. Select Android > Android Project, Click Next. Enter the following information for the project - Project name – AndroidClientService Build Target – Android 2.3 Application name – WasuppTodaysMessage Package name – org.android.websevice.client.samples Create Activity – AndroidClientService Min SDK Version – 9 Click Finish This would create a Project called AndroidClientService in your workspace. Next , add the ksoap2-andriod dependency to the project. Select the AndroidClientService, click properties , click on Java build path , click on Libraries , select Add External Jars and add the ksoap2 library (ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar) and click Ok. Next, open up the WasuppServiceClientAndroid class and replace the onCreate method with the following onCreate() method as shown in listing below. Following shows the complete code listing. This project would invoke the web service and display – “ “ on the device when the application is executed. To build the project, select Project -> Clean package android.websevice.client.samples; import org.ksoap2.SoapEnvelope;import org.ksoap2.serialization.SoapObject;import org.ksoap2.serialization.SoapSerializationEnvelope;import org.ksoap2.transport.HttpTransportSE; import android.app.Activity;import android.os.Bundle;import android.widget.TextView; public class AndroidClientService extends Activity { private static final String SOAP_ACTION = "http://www.naveenbalani.com/webservices/WassupAndroidService/todaysMessage"; private static final String OPERATION_NAME = "todaysMessage"; private static final String WSDL_TARGET_NAMESPACE = "http://www.naveenbalani.com/webservices/WassupAndroidService/"; private static final String SOAP_ADDRESS = "http://naveenbalani.com/WassupAndroid.asmx"; @Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState); TextView textView = new TextView(this); setContentView(textView); SoapObject request = new SoapObject(WSDL_TARGET_NAMESPACE,OPERATION_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);envelope.dotNet = true; envelope.setOutputSoapObject(request); HttpTransportSE httpTransport = new HttpTransportSE(SOAP_ADDRESS); try { httpTransport.call(SOAP_ACTION, envelope); Object response = envelope.getResponse(); textView.setText(response.toString()); } catch (Exception exception) { textView.setText(exception.toString()); } } To run the AndroidClientService Android application, click on it and select Run As > Android Application. On the eclipse console, you would see the following similar message – [AndroidClientService] Performing android.websevice.client.samples.AndroidClientService activity launch [AndroidClientService] Automatic Target Mode: launching new emulator with compatible AVD ‘AVD’ [AndroidClientService] Launching a new emulator with Virtual Device ‘AVD’ [AndroidClientService] Waiting for HOME (‘android.process.acore’) to be launched… You should see the Android AVD being launched. After the above message, it takes a while (2-3 minutes) for the first time to get the Android home page on the emulator. After the device is started, you should see the following message on console.. [AndroidClientService] Uploading AndroidClientService.apk onto device ‘emulator-5554′ [AndroidClientService] Installing AndroidClientService.apk… [AndroidClientService] Success! [AndroidClientService] Starting activity android.websevice.client.samples.AndroidClientService on device emulator-5554 If the application doesn’t show up on the emulator, Click on Menu option on the emulator and you would see the WasuppTodayMessage android application and message being displayed. Issues encountered during invoking the web services application from Android Emulator Unknown host exception – If you get the following exception – “java.net.UnKnownHostException: naveenbalani.com’, than you need to add required domain name server which emulator would use to resolve domain. A list of network limitations on emulator is available at – http://developer.android.com/guide/developing/tools/emulator.html#networkinglimitations As per the documentation – “ “At startup, the emulator reads the list of DNS servers that your system is currently using. It then stores the IP addresses of up to four servers on this list and sets up aliases to them on the emulated addresses 10.0.2.3, 10.0.2.4, 10.0.2.5 and 10.0.2.6 as needed. On Linux and OS X, the emulator obtains the DNS server addresses by parsing the file /etc/resolv.conf. On Windows, the emulator obtains the addresses by calling the GetNetworkParams() API. Note that this usually means that the emulator ignores the content of your “hosts file” Now, to add the domain name server, click on Run configurations and select AndroidClientService and add the following -dns-server ns15.unitechost.in in the additional emulator command line options as shown below. Click Run to run the configuration Security If you get a permission issue while accessing internet, you need to add the following line in to allow application to access internet Here is the complete listing of AndroidManifest.xml From http://naveenbalani.com/index.php/2011/01/invoke-webservices-from-android/
February 18, 2011
· 142,195 Views · 0 Likes

Comments

Cloud Computing Trends For 2024

Feb 15, 2024 · Navveen Balani

Thanks, Avinash, for sharing your insights.

Enterprise IoT Book

Oct 27, 2015 · Navveen Balani

The paperback version of the book is now available at https://www.createspace.com/5780841

Revisiting Cloud Computing concepts

Jun 21, 2010 · Navveen Balani

Re submitting a new link as the earlier link is inactive.
Evaluating Web service frameworks

May 29, 2010 · Navveen Balani

@devdanke - Thanks for the comments . If you read the description to the link , this is about - "Criteria for Evaluating Web service frameworks" which the link provides "and brief information on widely used framework, including a quick comparison link on CXF and Spring at the end of the blog". The link at the end have a quick comparison on Spring and CXF and CXF details. In next blog, plan to have comparison on other stacks which I have listed in my blog and post it to Dzone again. But for this link and description, the current blog serves the purpose. May be you didn't read the description with the link.

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: