Posts

Showing posts from October, 2017

Why Kotlin for Android Development

Image
Why you should use Kotlin for Android development Java is the most widely used language for Android development, but that doesn’t mean it is always the best choice. Java is old, verbose, error-prone, and has been slow to modernize. Kotlin is a worthy alternative. OpenJDK developers are starting to bridge the gap with Java 8, but Android doesn’t use all the features of Java 8. Developers are still stuck in the old Java 7 and 6 worlds, and that's not going to improve much in the foreseeable future. That's where Kotlin comes in: This relatively new open source language, based on the Java Virtual Machine (JVM), is gaining traction with Android software engineers. There are other JVM languages you could try to use on Android, but Kotlin offers integrations with Android Studio, Google's primary IDE for Android, that no language, has, other than Java. Here's why now is the time to start using this modern, sophisticated, pragmatic language for your A

Kotlin plug-ins in Diffrent Ide's

Netbeans -  Click On tools - > Go to PlugIns -> Go to Available Plugins -> select kotlin - install Eclipse - Help -> Eclipse Marketplace… menu and search for Kotlin plugin: - install Android Studio : click on file menu -> go to settings -> select plugins - select kotlin - install.  

AJAX REQUEST TO SERVER [Sending data to Servlet by AJAX call ]

1. create one web application : example - TestAjax. To create new Web Application in net beans Perform following Steps Open Netbeans  -> Select File -new - >Java Web Peoject - >Name To the project[ex. TestAjax]  - Finish. 2. create one jsp file example :index.jsp and write a code . download Jquery library and add it in your project.  <head> <script src="text/javascript"> </script> </head> <form id="myform"> name:<input type="text" name="name" id="name"> email :<input type="text" name="email" id="email"> <input type="submit" value="registration" id="button1"> </form> <script type="text/javascript">  $(document).ready(function(){  $('button1').click(function(e){  var name=$('#name').val(); var email=$('#email').val(); $.ajax({  type:"GET", u