    <?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0"><channel><title>Programming Tutorials, articles, and code samples</title><link>https://www.java-samples.com</link><description>Get free Programming Tutorials, Code Samples, Programming articles.</description><language>en-us</language><copyright>Copyright (C) 2012 java-samples.com</copyright><item><title><![CDATA[ Dynamically modify the option set in Dynamics 365 forms ]]></title><description><![CDATA[ To dynamically modify the option set in Dynamics 365 forms, either on Form Load or on a specific field OnChange event, we can replace the options in the option set with the allowed options. This will provide a consistent and reliable behavior. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1955</link><pubDate>Tue, 22 Aug 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Copy Power Automate Flows from one environment to another ]]></title><description><![CDATA[ You can copy Power Automate flows from one environment to another environment using the "Export" and "Import" features. This allows you to move flows and their associated components, such as connectors, triggers, actions, and settings, from one environment (e.g., development) to another (e.g., production) without recreating them manually ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1954</link><pubDate>Thu, 27 Jul 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Moving changes from a development environment (sandbox) to a production environment in Dynamics 365 ]]></title><description><![CDATA[ By following this process, you can safely move changes from the development environment to the production environment in Dynamics 365 while minimizing the risk of affecting production data or settings. Always perform thorough testing and validation before deploying changes to the production environment. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1953</link><pubDate>Tue, 25 Jul 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Is it safe to delete bin folder in a razorsharp c# project folder? ]]></title><description><![CDATA[ In a C# Razor project, the bin folder contains compiled binary files (such as DLLs) generated from the project's source code. These files are necessary for the project to run correctly. Therefore, it is generally not safe to delete the bin folder manually. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1952</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one ]]></title><description><![CDATA[ One client credential type required either: ClientSecret, Certificate, ClientAssertion or AppTokenProvider must be defined when creating a Confidential Client. Only specify one ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1951</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Warning Found conflicts between different versions of the same dependent assembly. ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Warning Found conflicts between different versions of the same dependent assembly. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1950</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Error CS1061 'string[]' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?) ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Error CS1061 'string[]' does not contain a definition for 'Any' and no accessible extension method 'Any' accepting a first argument of type 'string[]' could be found (are you missing a using directive or an assembly reference?) ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1949</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Pagination in ASP.net core application ]]></title><description><![CDATA[ To display a read-only grid of records with pagination in an ASP.NET Core view, you can follow these steps: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1948</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0308 The non-generic type 'List' cannot be used with type arguments. ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0308 The non-generic type 'List' cannot be used with type arguments. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1947</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Getting values from appsettings.json ASP.NET ]]></title><description><![CDATA[ To access values from appsettings.json in an ASP.NET Core application, you can use the IConfiguration interface ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1946</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Microsoft.Identity vs Microsoft.IdentityModel.Clients.ActiveDirectory ]]></title><description><![CDATA[ To work with the newer Microsoft.Identity package instead of the deprecated Microsoft.IdentityModel.Clients.ActiveDirectory, you can use the ConfidentialClientApplicationBuilder class to acquire a token ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1945</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ HttpError is not found in Asp,net core project ]]></title><description><![CDATA[ In the newer versions of ASP.NET Core, the HttpError type is not available. Instead, you can handle the error response using the HttpResponseMessage object and extract the error message from the response content ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1944</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Things to note when changing a function to async in your controller ]]></title><description><![CDATA[ When changing a function to an asynchronous function, there are several things to note ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1943</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'JToken' could not be found. ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'JToken' could not be found. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1942</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Passing a model globally to all Views in your Asp.net webapp ]]></title><description><![CDATA[ Let us say you have a model named customerSettings that you initialize when the user logs in and then you want to save it globally for later use throughout the application in all views ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1941</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0103 The name 'JsonConvert' does not exist in the current context. ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0103 The name 'JsonConvert' does not exist in the current context. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1940</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0103 The name 'Encoding' does not exist in the current context ]]></title><description><![CDATA[ Severity Code Description Project File Line Suppression State Error CS0103 The name 'Encoding' does not exist in the current context ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1939</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Pass the same model to multiple views within the same controller ]]></title><description><![CDATA[ To pass the same model to multiple views within the same controller, you can make use of the ViewBag property or strongly typed views ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1938</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Button that is only clickable when the checkbox is checked ]]></title><description><![CDATA[ To implement a checkbox and a button that is only clickable when the checkbox is checked, you can use JavaScript/jQuery. Here's an example of how you can achieve this ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1937</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Call an Action in a controller when user clicks a button in View ]]></title><description><![CDATA[ Let us assume you have a button in your view whose id is 'authorizeButton' and you want to submit to your Action named 'Authorize' in your controller named 'SandboxApi'. To call the Authorize action in the SandboxApiController when the user clicks the button, you can follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1936</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ AmbiguousMatchException: The request matched multiple endpoints. ]]></title><description><![CDATA[ The AmbiguousMatchException you encountered means that there are multiple endpoints in your code that match the incoming request. This can happen when you have multiple actions in a controller with the same name and same HTTP verb ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1935</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Development Mode in IIS for Asp.net projects ]]></title><description><![CDATA[ Swapping to Development environment will display more detailed information about the error that occurred. To set the ASPNETCORE_ENVIRONMENT environment variable in IIS, you can follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1934</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Do we need to redeploy the webapp when appsettings.json change?s ]]></title><description><![CDATA[ No, you don't need to redeploy the web app when changes are made to the appsettings.json file. The appsettings.json file is typically read at runtime by the application, so any changes made to it will be picked up by the application without requiring a redeployment ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1933</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Use a dynamic table name in a SQL Server SELECT statement ]]></title><description><![CDATA[ To use a dynamic table name in a SQL Server SELECT statement, you can utilize dynamic SQL using the EXEC or sp_executesql statement. Here's an example of how you can achieve it ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1932</link><pubDate>Fri, 26 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Send push notifications using Expo tokens in PHP ]]></title><description><![CDATA[ To send push notifications using Expo tokens in PHP, you need to use Expo's Push Notifications API. Here's an example of how you can modify your PHP code ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1931</link><pubDate>Fri, 19 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Session variables in React Native - Expo ]]></title><description><![CDATA[ In React Native and Expo, there is no direct support for session variables like in traditional web development with server-side technologies. However, you can achieve similar functionality by using alternative approaches. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1930</link><pubDate>Wed, 17 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sample my.cnf (my.ini) for MySQL with 1GB RAM ]]></title><description><![CDATA[ For a VM with 1GB memory running both MySQL and Apache, you'll need to configure MySQL to use an appropriate amount of memory to ensure optimal performance. Here's a sample my.cnf configuration that you can start with ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1929</link><pubDate>Wed, 17 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ mysqldumpslow in MySQL - Summarize slow query log. ]]></title><description><![CDATA[ In MySQL, you can check which queries took longer to execute and potentially caused the server to slow down by enabling the Slow Query Log feature. The Slow Query Log records queries that take longer than a specified amount of time to execute. Here are the steps to enable and utilize the Slow Query Log ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1928</link><pubDate>Wed, 17 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Finding slow queries in MySQL - Enable slow query log. ]]></title><description><![CDATA[ In MySQL, you can check which queries took longer to execute and potentially caused the server to slow down by enabling the Slow Query Log feature. The Slow Query Log records queries that take longer than a specified amount of time to execute. Here are the steps to enable and utilize the Slow Query Log ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1927</link><pubDate>Wed, 17 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ use axios in Expo to call APIs ]]></title><description><![CDATA[ You can use axios in Expo projects. axios is a popular JavaScript library for making HTTP requests, and it can be used in Expo apps as well. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1926</link><pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ TypeError: Cannot read property 'isDevice' of undefined - expo ]]></title><description><![CDATA[ If you get this error, TypeError: Cannot read property 'isDevice' of undefined while using Device.isDevice in your expo project, you are probably using a wrong import method. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1925</link><pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Start background location tracking after login in expo react native ]]></title><description><![CDATA[ If you want to have a background job in an expo app to get the location of the device continuously and the job should start only after login is successful. You can define the background task in app.js and then when login is successful in another component, (for example user.js) you can start the job. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1924</link><pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ set up a global error handler in React Native (expo) ]]></title><description><![CDATA[ Note: It's generally recommended to handle promise rejections at their source and provide appropriate error handling within your code, rather than relying on a global error handler. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1923</link><pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Read a file having a list of telnet commands and execute them one by one using Java ]]></title><description><![CDATA[ You can achieve this by reading the list of telnet commands from a file and executing them one by one using the ProcessBuilder class in Java. Here's some sample code that demonstrates how to do it ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1922</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ #if and #else in C ]]></title><description><![CDATA[ In C, #if and #else are preprocessor directives that allow conditional compilation of code based on whether a given macro is defined or not. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1921</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ The output of System.out.println(5>>2) in Java ]]></title><description><![CDATA[ In this case, 5 is represented in binary as 00000101. When we shift it right by two positions, we get 00000001, which is the binary representation of 1. Therefore, the output is 1 ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1920</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ The output of System.out.println(5<<2) in Java ]]></title><description><![CDATA[ In this case, 5 is represented in binary as 00000101. When we shift it left by two positions, we get 00010100, which is the binary representation of 20. Therefore, the output is 20 ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1919</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Open a .docx file and show content in a TextArea using Java ]]></title><description><![CDATA[ It is possible to read a .docx file using Java and display its contents in a text area, but it requires additional libraries and code to handle the file format. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1918</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Show a calendar for user input in JSP ]]></title><description><![CDATA[ To show a calendar in a text field when the user enters it in JSP, you can use JavaScript and jQuery. Here's an example: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1917</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ SafeAreaView in React Native ]]></title><description><![CDATA[ In React Native, you can use the SafeAreaView component to ensure that your content is displayed within the visible area of the device screen. The SafeAreaView component is used to handle elements that need to be shown within the safe area boundaries of a device. You can use the following example code to properly format the container style in React Native ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1916</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Some dependencies are incompatible with the installed expo version: ]]></title><description><![CDATA[ When you start an expo project by running 'expo start' or 'npx expo start', if you are getting this error: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1915</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ A sample Hibernate Web Application using Servlets ]]></title><description><![CDATA[ A Hibernate web application uses Session and Transaction almost like a standalone application. However, some common patterns are useful. You can now write an EventManagerServlet. This servlet can list all events stored in the database, and it provides an HTML form to enter new events. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1304</link><pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Step by Step Hibernate - Your First Hibernate Application ]]></title><description><![CDATA[ This could well be your first Hibernate Application. In this tutorial a step by step approach is taken to show you how to use hibernate in your java applications. For this example, we will set up a small database application that can store events we want to attend and information about the host(s) of these events. This explains the basics of Hibernate. You can get started with Hibernate using this tutorial and extend the functionalities from here. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1303</link><pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Step by Step guide to setup freetts for Java ]]></title><description><![CDATA[ Follow these steps to setup of freetts for Java in your PC ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1206</link><pubDate>Mon, 08 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sending Email using JSP ]]></title><description><![CDATA[ This example uses Gmail as the SMTP server, but you can use any other SMTP server by modifying the "host" and "port" properties accordingly. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=675</link><pubDate>Fri, 05 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Encrypting Passwords in Tomcat using Servlets ]]></title><description><![CDATA[ Encrypting passwords is an essential aspect of web application security. Here are the steps to encrypt passwords in Tomcat using Servlets: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=618</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Steps to get a Free SSL certificate for your Tomcat ]]></title><description><![CDATA[ Most often web developers face the issue of getting a free SSL certificate for their websites. Though the process of generating a SSL certificate is easy, it is quite confusing if you are doing it for the first time. If you are one such developer then here is the solution for you step by step. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=617</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Data Access Technologies in Java ]]></title><description><![CDATA[ Java offers several data access technologies for connecting to various types of data sources, such as databases, flat files, and web services. Some of the popular data access technologies in Java are: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=613</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Of Object, equals (), == and hashCode () ]]></title><description><![CDATA[ In Java, the Object class is the root class of all classes, which means that every class in Java is derived from the Object class. The Object class provides several methods that can be overridden in the derived classes, including equals(), ==, and hashCode(). ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=586</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Handling Duplicate Form Submissions in Struts ]]></title><description><![CDATA[ Duplicate form submissions are acceptable in some cases. Such scenarios are called idempotent transitions. When multiple submissions of data are not critical enough to impact the behavior of the application, duplicate form submissions do not pose a threat. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=582</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ DispatchAction in Struts ]]></title><description><![CDATA[ DispatchAction is another useful built-in Struts Action. However you cannot use it as is. You will have to extend it to provide your own implementation. An example will make things clear. Consider an online credit card application. Customers fill the credit card application online. The bank personnel get a List screen as shown in Figure below and they can act in one of four ways - Approve, Reject or Add Comment. Consequently there are three images each being a <html:link>. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=581</link><pubDate>Thu, 04 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Different Versions of Mac OS X ]]></title><description><![CDATA[ With the exception of Mac OS X Server 1.0 and the original public beta, Mac OS X versions are named after big cats. Prior to its release, version 10.0 was code named "Cheetah" internally at Apple, and version 10.1 was code named internally as "Puma". After the immense buzz surrounding version 10.2, codenamed "Jaguar", Apple's product marketing began openly using the code names to promote the operating system. 10.3 was marketed as "Panther", 10.4 as "Tiger", 10.5 as "Leopard", the current version 10.6 as "Snow Leopard", and the upcoming 10.7 as "Lion". "Panther", "Tiger" and "Leopard" are registered as trademarks of Apple, but "Cheetah", "Puma" and "Jaguar" have never been registered. Apple has also registered "Lynx" and "Cougar" as trademarks, though these were allowed to lapse. Computer retailer Tiger Direct sued Apple for its use of the name "Tiger". On May 16, 2005 a US federal court in the Southern District of Florida ruled that Apple's use does not infringe on Tiger Direct's trademark. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1390</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Downloading and Installing the AWS SDK for .NET ]]></title><description><![CDATA[ By default, the AWS SDK for .NET is installed in the Program Files directory, which requires administrator privileges. You can install the AWS SDK for .NET as a non-administrator if you choose a different installation directory. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1190</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Introduction to the AWS SDK for .NET ]]></title><description><![CDATA[ The AWS .NET SDK is a single, downloadable package that includes Visual Studio project templates, the AWS .NET library, C# code samples, and documentation. The AWS .NET SDK makes it easier for Windows developers to build .NET applications that tap into the cost-effective, scalable, and reliable AWS infrastructure services such as Amazon S3, EC2, and SimpleDB. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1189</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Using the AWS SDK for Java in Eclipse ]]></title><description><![CDATA[ If you use the AWS Toolkit for Eclipse, you can also start a new project in Eclipse based on the AWS SDK for Java or add the SDK to an existing Java project. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1188</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Using the AWS SDK for Java ]]></title><description><![CDATA[ Download the AWS SDK for Java from the SDK web page at http://aws.amazon.com/sdkforjava. After downloading the SDK, extract the contents into a folder. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1187</link><pubDate>Wed, 03 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ sql if null then 0 ]]></title><description><![CDATA[ In SQL, you can use the IS NULL condition to check if a value is NULL. To return 0 when the value is NULL, you can use the COALESCE function or the IFNULL function, depending on the database system you are using. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1914</link><pubDate>Tue, 02 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Is J2ME dead? ]]></title><description><![CDATA[ J2ME (Java 2 Micro Edition) is a platform that allows developers to build mobile and embedded applications that can run on resource-constrained devices. Although its popularity has decreased in recent years due to the emergence of more powerful mobile operating systems and frameworks, J2ME is still used in some specific use cases, including ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1913</link><pubDate>Tue, 02 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Guidelines for Struts Application Development ]]></title><description><![CDATA[ Struts application development in enterprise applications requires discipline. We are not referring to any particular methodology; just some guidelines for Struts based application development for enterprise applications. In this section a stepby-step approach for Struts application development cycle is provided. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=583</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ DateFormat  sample program in Java ]]></title><description><![CDATA[ DateFormat is an abstract class that provides the ability to format and parse dates and times. The getDateInstance() method returns an instance of DateFormat that can format date information. It is available in these forms: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=405</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ concurrent.Flow instead of Observable class in Java ]]></title><description><![CDATA[ To observe an observable object, you must implement the Observer interface. This interface defines only the one method shown here: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=381</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ mixin in JavaScript ]]></title><description><![CDATA[ In JavaScript, a mixin is a way to add or "mix in" functionality to an object without inheriting from it. It's a way to combine objects to create a new object that has the properties and methods of both objects. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1912</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ apply() in JavaScript ]]></title><description><![CDATA[ apply() is a method in JavaScript that allows you to call a function with a given this value and arguments provided as an array. It is similar to the call() method, but with apply(), the arguments are passed as an array, while with call(), the arguments are passed individually. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1911</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ call in JavaScript ]]></title><description><![CDATA[ In JavaScript, call() is a method that allows you to call a function with a given this value and arguments provided individually. The syntax for call() is ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1910</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ bind in JavaScript ]]></title><description><![CDATA[ In JavaScript, the bind() method creates a new function that, when called, has its this keyword set to a specified value. It allows you to pass a specific this context to a function and returns a new function with the same code but a bound context. The syntax for using bind() is: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1909</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ promise and .then() in JavaScript ]]></title><description><![CDATA[ A promise is an object in JavaScript that represents the eventual completion or failure of an asynchronous operation, and its resulting value. It allows you to write asynchronous code in a more synchronous way, making it easier to read and reason about. A promise can be in one of three states: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1908</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ reduce() and filter() in JavaScript ]]></title><description><![CDATA[ reduce() and filter() are higher-order array functions in JavaScript that allow you to perform operations on arrays in a more concise and readable way. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1907</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ IIFE in JavaScript ]]></title><description><![CDATA[ IIFE stands for Immediately Invoked Function Expression. It's a way to create a self-executing function in JavaScript. The main idea is to write a function that is executed immediately after it's defined ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1906</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ map() in JavaScript ]]></title><description><![CDATA[ In JavaScript, map() is a built-in method available on arrays that allows you to iterate through each element of an array and create a new array by performing some operation on each element. The syntax of map() is as follows: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1905</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ prototype in JavaScript ]]></title><description><![CDATA[ In JavaScript, every object has a prototype. A prototype is an object that is used as a template for creating new objects. When an object is created, it inherits properties and methods from its prototype. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1904</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ => in JavaScript ]]></title><description><![CDATA[ In JavaScript, => is called an arrow function or a fat arrow function. It's a shorthand syntax for defining functions that was introduced in ECMAScript 6 (ES6). ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1903</link><pubDate>Wed, 26 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Different ways you can pass arguments to a function in JavaScript ]]></title><description><![CDATA[ Here are the different ways you can pass arguments to a function in JavaScript, using the area function example: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1902</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ sparse array in JavaScript ]]></title><description><![CDATA[ In JavaScript, a sparse array is an array in which not all elements are initialized with values. This means that there are gaps or missing indexes between the elements that actually have values. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1901</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ for, for..of, and for..in loops in JavaScript ]]></title><description><![CDATA[ In JavaScript, there are several ways to loop through arrays and objects. Here's an overview of the for, for..of, and for..in loops: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1900</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ while and do-while in JavaScript ]]></title><description><![CDATA[ In JavaScript, while and do-while are two types of loops that can be used to repeat a block of code multiple times. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1899</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ == vs === in JavaScript ]]></title><description><![CDATA[ In JavaScript, == and === are two comparison operators that are used to compare two values or variables. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1898</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ let, const, and var in JavaScript ]]></title><description><![CDATA[ In JavaScript, let, const, and var are used for declaring variables, but they have different scopes and behaviors. Here are the main differences: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1897</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Symbol() function in JavaScript ]]></title><description><![CDATA[ <code>Symbol()</code> is a built-in function in JavaScript that returns a unique symbol value. Symbols are a new primitive data type introduced in ECMAScript 6, which can be used as keys in objects, allowing for more efficient property lookup and avoiding naming collisions ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1896</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Boolean() function in JavaScript ]]></title><description><![CDATA[ The <code>Boolean()</code> function in JavaScript is used to convert a value into a boolean data type. The function takes a single parameter and returns <code>true</code> or <code>false</code>.</p> ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1895</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Template literals vs String concatenation in JavaScript ]]></title><description><![CDATA[ Template literals and string concatenation are two ways to combine strings in JavaScript. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1894</link><pubDate>Tue, 25 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Calculator application in Java ]]></title><description><![CDATA[ This sample program uses Java Swing to display a calculation application. This program can be studied in detail to understand the basic Java constructs and Java Swing. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1893</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Getting Started with Java ]]></title><description><![CDATA[ If you are familiar with C then Java should be very familiar to you in terms of syntax. If you are a C++ programmer the Java will be easier still since Java is also purely an Object Oriented Programming without some of the features like Pointers in C++. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1892</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ How Java is orgranized? ]]></title><description><![CDATA[ Java has changed tremendously and included more features over the years. The first basic version of Java comprised of just six packages. A package is a collection of Java classes. Sun grouped six different packages with classes doing specific jobs. For example the 'java.io' package consists of all classes that do input output such as reading files, writing to files etc. where as the 'java.net' package consists of classes that do networking such as making a HTTP connection etc ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1891</link><pubDate>Sun, 23 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ disable the back arrow in the header of a screen in a React Navigation Stack Navigator ]]></title><description><![CDATA[ <span>To disable the back arrow in the header of a screen in a React Navigation Stack Navigator, you can set the </span><code>headerLeft</code><span> option to </span><code>null</code><span> in the </span><code>screenOptions</code><span> prop of the navigator. Here's an example:</span> ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1890</link><pubDate>Fri, 21 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ react-native-android-location-services-dialog-box alternative in expo ]]></title><description><![CDATA[ <code>react-native-android-location-services-dialog-box</code> is a library that is specific to the React Native environment and is not compatible with Expo, which uses a different set of APIs for location services. In Expo, you can use the <code>expo-location</code> package to access the device's location services. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1889</link><pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ 'import' and 'export' may only appear at the top level - React Native ]]></title><description><![CDATA[ In JavaScript modules, import and export statements can only appear at the top level of a file, not inside functions, loops, or conditionals. If you need to conditionally import a module or dynamically load a module, you can use a dynamic import statement. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1888</link><pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ react-native-background-job alternative in expo app ]]></title><description><![CDATA[ <code>react-native-background-job</code> is a library used for running background jobs or tasks in a React Native application. However, since Expo manages a lot of native modules for you, you cannot use this library directly in your Expo app as it requires native code changes. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1887</link><pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Show and hide links based on button click ]]></title><description><![CDATA[ Here is a code snippet that should show and hide the links based on the button clicked ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1886</link><pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Error Handling in TextInput - React Native ]]></title><description><![CDATA[ In this example, the handleBlur function is triggered when the TextInput loses focus. It checks if the value of the TextInput is empty and sets an error message if it is. The error message is then displayed using conditional rendering. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1885</link><pubDate>Mon, 17 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Send push notifications to android/ios sample code using expo - react native ]]></title><description><![CDATA[ Expo Notifications is a module provided by Expo that makes it easy to send and receive push notifications in your Expo app. Here are some advantages of using Expo Notifications: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1884</link><pubDate>Thu, 13 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ expo-secure-store vs expo-file-system in expo - react native ]]></title><description><![CDATA[ Expo provides two different packages for managing data storage in your app: <code>expo-secure-store</code> and <code>expo-file-system</code>. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1883</link><pubDate>Thu, 13 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ loadAsync() vs useFonts() in expo - react native ]]></title><description><![CDATA[ <code>expo-font</code> provides two methods for loading custom fonts in React Native: <code>loadAsync()</code> and <code>useFonts()</code>. Here are some key differences between the two ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1882</link><pubDate>Thu, 13 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ OpenType (OTF) vs TrueType (TTF) ]]></title><description><![CDATA[ Both OpenType (OTF) and TrueType (TTF) are widely used font formats, and both have their own advantages and disadvantages. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1881</link><pubDate>Thu, 13 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Three dots ... - Spread syntax in React Native ]]></title><description><![CDATA[ In React Native, the three dots (...) are used to spread the contents of an array or an object. This is called the spread syntax. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1880</link><pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ What is Semver? ]]></title><description><![CDATA[ Semver stands for "Semantic Versioning" and it's a versioning system for software packages that uses a specific format to convey information about the changes in each version of the software. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1879</link><pubDate>Tue, 11 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ StackNavigator example in React Native ]]></title><description><![CDATA[ In this example, we import <code>createStackNavigator</code> and <code>NavigationContainer</code> from <code>@react-navigation/native</code>. We then define two screens, <code>HomeScreen</code> and <code>DetailsScreen</code>, which are rendered using <code>Stack.Screen</code> components inside a <code>Stack.Navigator</code> component. We also define a <code>Stack</code> constant to hold our <code>StackNavigator</code>. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1878</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ create-expo-app vs expo init ]]></title><description><![CDATA[ <code>npx create-expo-app</code> is the recommended way to create a new Expo project instead of <code>expo init</code>. <code>npx create-expo-app</code> creates a new Expo project with the latest Expo SDK version and the new project structure introduced in SDK 41. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1877</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Touchables in React Native ]]></title><description><![CDATA[ In React Native, handling touches can be done using various components like TouchableOpacity, TouchableHighlight, TouchableWithoutFeedback, and TouchableNativeFeedback. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1876</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Image component in React Native ]]></title><description><![CDATA[ In React Native, the <code>Image</code> component is used to display images. It supports several props to control how the image is displayed ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1875</link><pubDate>Sun, 09 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ justifyContent in React Native ]]></title><description><![CDATA[ <code>justifyContent</code><span> is a flexbox property in React Native used to align child elements along the main axis of their container. It controls how extra space in the container is distributed among the child elements. Here's an example to help understand how </span><code>justifyContent</code><span> works:</span> ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1874</link><pubDate>Sat, 08 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Layout direction property in React Native ]]></title><description><![CDATA[ The layout direction property in React Native is used to specify the direction in which the elements of a component are laid out. It has two possible values: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1873</link><pubDate>Sat, 08 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ flexDirection in React Native ]]></title><description><![CDATA[ <code>flexDirection</code> is a CSS property in React Native that is used to define the direction of the main axis of a container. It has two possible values: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1872</link><pubDate>Sat, 08 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ flex in React Native ]]></title><description><![CDATA[ In React Native, the <code>flex</code> property is used to specify how an item should grow or shrink to fill the available space. It is commonly used to create responsive layouts that adapt to different screen sizes. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1871</link><pubDate>Sat, 08 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ expo-secure-store to store sensitive data securely in React Native ]]></title><description><![CDATA[ <code>expo-secure-store</code> provides an API to securely store sensitive data such as authentication tokens, passwords, and other secrets. This library uses the operating system's secure storage mechanism to store the data. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1870</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Login Sample in React Native using fetch() ]]></title><description><![CDATA[ Let's say we have a login screen with two inputs, one for the email and one for the password, and a "Sign In" button. When the user clicks the "Sign In" button, we want to send a request to the server to check if the email and password are valid. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1869</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Expo Build Process for React Native Projects ]]></title><description><![CDATA[ The Expo build process can be broken down into several steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1868</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Advantages of using Expo to develop React Native Projects ]]></title><description><![CDATA[ Expo provides a development environment that abstracts away the platform-specific implementation details of mobile app development. It provides an abstraction layer that enables developers to write cross-platform code that works seamlessly across both Android and iOS devices ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1867</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ React.FC in React - TypeScript ]]></title><description><![CDATA[ <code>React.FC</code> is a generic type alias in TypeScript used to define a function component in React. It stands for "Function Component" and is a shorthand for defining a function that returns JSX elements. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1866</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ export in React Native - JavaScript ]]></title><description><![CDATA[ In JavaScript, the <code>export</code> keyword is used to export a function, object, or value from a module so that it can be imported and used in other modules. In React Native, you can use the <code>export</code> keyword to export components, functions, or variables from a JavaScript file. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1865</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Remove all installed dependencies and install them again ]]></title><description><![CDATA[ To remove all installed packages and reinstall them in an Expo project, you can follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1864</link><pubDate>Thu, 06 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Keep your android phone awake while debugging ]]></title><description><![CDATA[ You can adjust the sleep settings of your Android device to keep it from going to sleep while debugging your Expo app. Here's how you can do it ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1863</link><pubDate>Thu, 06 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ npm install vs npx expo install ]]></title><description><![CDATA[ Both <code>npm install</code> and <code>npx expo install</code> are used to install dependencies in a React Native project. However, there are some differences between the two ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1862</link><pubDate>Wed, 05 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ state vs props in React Native ]]></title><description><![CDATA[ In React Native, <code>state</code> and <code>props</code> are two important concepts that allow you to manage and update the behavior and appearance of your app components ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1861</link><pubDate>Wed, 05 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ async vs defer in JavaScript - When to use them? ]]></title><description><![CDATA[ Both <code>async</code> and <code>defer</code> are attributes that can be added to a script tag in HTML to control how the script is loaded and executed in the web page. Here are the differences between the two ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1860</link><pubDate>Tue, 04 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ compileSdkVersion vs buildToolsVersion in app/build.gradle ]]></title><description><![CDATA[ compileSdkVersion and buildToolsVersion are two different properties that are used in the build.gradle file of an Android project ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1859</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ gradle build failed Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema ]]></title><description><![CDATA[ The error "Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema" occurs when you are using a Java version that does not include the required class definition for javax/xml/bind/annotation/XmlSchema ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1858</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Is it safe to run 'npm audit fix'? ]]></title><description><![CDATA[ Running <code>npm audit fix</code> is generally safe, and it is a good practice to fix vulnerabilities reported by <code>npm audit</code> in your Node.js project. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1857</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ package.json vs package-lock.json in react-native project ]]></title><description><![CDATA[ Both <code>package.json</code> and <code>package-lock.json</code> files are used in Node.js and NPM (Node Package Manager) projects to manage dependencies and packages. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1856</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Gradle, npm, react-native - How are they related? ]]></title><description><![CDATA[ Gradle is a build automation tool that is commonly used in Java and Android development. It is designed to manage the dependencies and build processes of projects. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1855</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Emulator: glTexImage2D: got err pre :( 0x506 internal 0x8058 format 0x1908 type 0x1401 ]]></title><description><![CDATA[ The error message <code>glTexImage2D: got err pre :( 0x506 internal 0x8058 format 0x1908 type 0x1401</code> is related to OpenGL, which is used by the Android emulator to render graphics.</p> <p>Here are some steps you can try to resolve the issue ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1854</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Emulator: WARNING | *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.*** ]]></title><description><![CDATA[ The warning message <code>No gRPC protection active, consider launching with the -grpc-use-jwt flag</code> indicates that the gRPC traffic between the emulator and the host machine is not secure. By default, gRPC traffic is not encrypted or authenticated, which can be a security risk. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1853</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ ./gradlew assembleDebug '.' is not recognized as an internal or external command, operable program or batch file. ]]></title><description><![CDATA[ The error message you're seeing suggests that the <code>./gradlew</code> command is not recognized by your system ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1852</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ 'adb' is not recognized as an internal or external command, operable program or batch file. ]]></title><description><![CDATA[ This error message suggests that your system is unable to locate the <code>adb</code> executable file, which is a part of the Android SDK platform tools. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1851</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Performing Streamed Install adb: failed to install app buildoutputsapkdebugapp-debug.apk: Exception occurred while executing 'install': android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space ]]></title><description><![CDATA[ The error message indicates that there was not enough space to install the app. You might need to free up some space on the device or emulator before trying to install the app again ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1850</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Is it safe to delete userdata-qemu.img userdata-qemu.img.qcow2 files ]]></title><description><![CDATA[ The <code>userdata-qemu.img</code> and <code>userdata-qemu.img.qcow2</code> files are disk images used by the Android emulator to store the user data and app data on the virtual device ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1849</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ adb.exe: no devices/emulators found ]]></title><description><![CDATA[ The error message "adb.exe: no devices/emulators found" means that ADB (Android Debug Bridge) is not able to detect any connected Android devices or emulators. Here are some possible solutions ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1848</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ How to start the Android emulator ]]></title><description><![CDATA[ To start an Android emulator in Android Studio, follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1847</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ user-scalable=no in the meta tag in html ]]></title><description><![CDATA[ This attribute controls whether or not a user is allowed to zoom in and out of a web page using pinch-to-zoom or other similar gestures on mobile devices ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1846</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ add woff2 files to apache cache ]]></title><description><![CDATA[ To add WOFF2 files to the cache with the <code>mod_expires</code> module in Apache, you can add the following line to your Apache configuration file (e.g. <code>apache2.conf</code> or <code>.htaccess</code> file in your website's root directory) ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1845</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ How to check if  mod_expires module is loaded? ]]></title><description><![CDATA[ To check if the mod_expires module is loaded and enabled in Apache, you can use the apachectl command-line utility with the -M option, which lists all the loaded Apache modules ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1844</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ apache increase cache to static files js and css for 1 year ]]></title><description><![CDATA[ To increase the cache time for static files such as JS and CSS files served by Apache, you can modify the <code>Expires</code> header of the HTTP response. The <code>Expires</code> header specifies the date and time when the cached resource is considered to be expired. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1843</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute ]]></title><description><![CDATA[ The <code>SameSite</code> attribute can be used to indicate whether to send a cookie in a cross-site request. The <code>SameSite</code> attribute is used to control how cookies are sent with cross-site requests, and it can have one of three values ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1842</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ npm ERR! enoent ENOENT: no such file or directory, open C:UsersusernameAppDataLocal<br />
pm-cache\_cacache	mpgit-clonexxxxpackage.json npm ERR! enoent This is related to npm not being able to find a file. ]]></title><description><![CDATA[ This error message typically indicates that NPM is unable to find the <code>package.json</code> file for the project you are trying to install or run. Here are a few possible solutions you can try ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1841</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ npm ERR! Missing script: "start" ]]></title><description><![CDATA[ The error message indicates that the start script is missing in your project's package.json file. You can add a start script to your package.json file to define the command to start your project. Here's an example ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1840</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ warning: This setting is deprecated, please use 'java.jdt.ls.java.home' instead. ]]></title><description><![CDATA[ The warning you are seeing indicates that the "java.home" setting in the Java extension settings is deprecated, and you should use "java.jdt.ls.java.home" instead. Here's how you can update your settings: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1839</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ error 'Configure Runtime for Language Server' every time i open visual studio code java applications ]]></title><description><![CDATA[ The error message "Configure Runtime for Language Server" usually appears in Visual Studio Code when the Java extension is unable to find a compatible Java Development Kit (JDK) installation on your system. To resolve this issue, you can follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1838</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ fatal: not a git repository (or any of the parent directories): .git ]]></title><description><![CDATA[ The error message "fatal: not a git repository (or any of the parent directories): .git" indicates that Git was unable to find a Git repository in the current directory or any of its parent directories. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1837</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ error: the following file has changes staged in the index: PycharmProjects/classifier/.idea/vcs.xml (use --cached to keep the file, or -f to force removal) ]]></title><description><![CDATA[ Solution to the error: the following file has changes staged in the index:     PycharmProjects/classifier/.idea/vcs.xml (use --cached to keep the file, or -f to force removal) ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1836</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Remove a folder from syncing to Git ]]></title><description><![CDATA[ To remove a folder from syncing to Git, you can follow these steps ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1835</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Using OBS Studio to record tutorial videos for YouTube ]]></title><description><![CDATA[ If you plan to record your tutorial video with OBS Studio and then upload it to YouTube, you should choose the second option, "Optimize for recording, I will not be streaming" during the installation process. This will configure OBS Studio to prioritize performance for recording your video ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1834</link><pubDate>Fri, 31 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Prevent other websites from displaying content from your website in an iframe ]]></title><description><![CDATA[ It is possible to prevent other websites from displaying content from your website in an iframe using a technique called "frame busting" or "clickjacking defense." ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1833</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Preventing your PDF files to be displayed inside other website IFrames ]]></title><description><![CDATA[ You can use a Content Security Policy (CSP) to prevent your PDF files from being displayed in an iframe on other websites. CSP is a security feature that allows web developers to specify which sources of content are allowed to be loaded on a web page. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1832</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Display the HTML content in your C# view ]]></title><description><![CDATA[ To display the HTML content in your success view after parsing, you can use the Html.Raw method in Razor syntax. Html.Raw method is used to render HTML markup to the page without encoding the markup. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1831</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Content-Security-Policy: object-src, script-src, base-uri and report-uri ]]></title><description><![CDATA[ Content-Security-Policy:   object-src 'none';   script-src 'nonce-{random}' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:;   base-uri 'none'; ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1830</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Header requires three arguments - Apache cannot start ]]></title><description><![CDATA[ The error message suggests that there is a syntax issue with the Header directive in your /etc/apache2/conf-enabled/csp.conf file. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1829</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute ]]></title><description><![CDATA[ The SameSite attribute can be used to indicate whether to send a cookie in a cross-site request. The SameSite attribute is used to control how cookies are sent with cross-site requests, and it can have one of three values ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1828</link><pubDate>Wed, 29 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Modify a auto_increment id column in mysql to accept a 5 digit random number instead ]]></title><description><![CDATA[ You can modify the column definition to remove the auto-increment property and then set a default value of a randomly generated 5-digit number. Note that modifying a column in a production database can be a risky operation, so it is recommended that you make a backup of your data before making any changes. Also, be sure to test your changes thoroughly to ensure that they do not cause any unintended side effects. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1827</link><pubDate>Mon, 27 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ java.lang.reflect package ]]></title><description><![CDATA[ Apart from all the classes and methods inside the java.lang package, java.lang package has a subpackage called java.lang.reflect subpackage. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=679</link><pubDate>Sat, 25 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sending Email from Java application (using gmail) ]]></title><description><![CDATA[ This example uses Gmail SMTP server to send an email. Make sure to replace your_email@example.com and your_email_password with your actual email and password respectively. Also, replace recipient_email@example.com with the email address of the recipient. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=676</link><pubDate>Thu, 23 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Will C and C++ be replaced by newer languages? ]]></title><description><![CDATA[ It's unlikely that C and C++ will be completely replaced by some other language soon. Both C and C++ have been around for several decades and are still widely used today for various types of software development. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1826</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ React vs Angular - How to choose? ]]></title><description><![CDATA[ eact and Angular are both popular JavaScript frameworks used for building web applications. While they share some similarities, they have some significant differences that can impact your decision when choosing which one to use. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1825</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Future of JSP ]]></title><description><![CDATA[ JSP (JavaServer Pages) is still in use, although its popularity has decreased over the years with the rise of other technologies such as React, Angular, and Vue.js. However, JSP remains a viable option for developing web applications using Java. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1824</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ C Sharp MVC Razor code for a login screen and its controller ]]></title><description><![CDATA[ Here are the steps to create a login screen in a CSHTML view file and the associated controller code in C#: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1823</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Using Microsoft Authenticator for 2FA in C Sharp. (C#) ]]></title><description><![CDATA[ To use Microsoft Authenticator for two-factor authentication in a C# application, you can use the Microsoft Authentication Library (MSAL) to integrate the Authenticator into your application ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1822</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ PHP convert string to lower case ]]></title><description><![CDATA[ In PHP, you can convert a string to lowercase using the strtolower() function. Here is an example: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1821</link><pubDate>Wed, 22 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Get Location of a phone in iOS ]]></title><description><![CDATA[ To get the location of a mobile phone in iOS, you can use the Core Location framework, which provides access to the device's location services. Here are the general steps to get the location of a mobile phone in iOS ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1820</link><pubDate>Mon, 20 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Get Location of an android phone programmatically ]]></title><description><![CDATA[ To get the location of a mobile phone in Android, you can use the LocationManager class which provides access to the system location services. Here are the general steps to get the location of a mobile phone in Android ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1819</link><pubDate>Sun, 19 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Java program to get location meta data from an image  ]]></title><description><![CDATA[ Here is the Java program to get location metadata from an image using the metadata-extractor library in Java. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1818</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Python program to get location meta data from an image  ]]></title><description><![CDATA[ Here is the Python program to get location metadata from an image using the exifread library in Python. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1817</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ What is Scrapy and how to use it. ]]></title><description><![CDATA[ Scrapy is a web scraping framework that is legal to use under certain circumstances. Web scraping is the process of extracting data from websites using automated tools or software, and it is generally considered legal if done ethically and in compliance with applicable laws. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1816</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Retrieve Twitter posts and comments using Python ]]></title><description><![CDATA[ Here's some sample Python code that uses the Twitter API to collect tweets and replies and saves them in a dataset: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1815</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Microsoft Flow to sync data from SharePoint list update/delete records to Dataverse Table ]]></title><description><![CDATA[ To handle update and delete events in a SharePoint list, you can create a Microsoft Power Automate flow. Here are the steps: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1814</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Steps to create Microsoft Flow to sync data from SharePoint list to Dataverse Table ]]></title><description><![CDATA[ Here are the steps to create a Microsoft Flow to sync data from a SharePoint list to a Dataverse Table ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1813</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Why does my browser's search engine keeps changing back to yahoo? ]]></title><description><![CDATA[ There could be a few reasons why your browser's search engine keeps changing back to Yahoo: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1812</link><pubDate>Fri, 17 Mar 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ J2EE APIs  ]]></title><description><![CDATA[ The Java 2 Platform, Standard Edition (J2SE) SDK is required to run the J2EE SDK and provides core APIs for writing J2EE components, core development tools, and the Java virtual machine. The J2EE SDK provides the following APIs to be used in J2EE applications.  ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=132</link><pubDate>Wed, 22 Feb 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ The future of Perl ]]></title><description><![CDATA[ At the 2000 Perl Conference, Jon Orwant made a case for a major new language initiative. This led to a decision to begin work on a redesign of the language, to be called Perl 6. Proposals for new language features were solicited from the Perl community at large, and more than 300 RFCs were submitted. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1443</link><pubDate>Sun, 05 Feb 2023 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Programmatic configuration in Hibernate ]]></title><description><![CDATA[ An instance of org.hibernate.cfg.Configuration represents an entire set of mappings of an application's Java types to an SQL database. The org.hibernate.cfg.Configuration is used to build an immutable org.hibernate.SessionFactory. The mappings are compiled from various XML mapping files. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1307</link><pubDate>Thu, 29 Dec 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Tutorial Using the Java Persistence API (JPA) in Hibernate ]]></title><description><![CDATA[ Instead of using the Hibernate-specific hibernate.cfg.xml configuration file, JPA, defines a different bootstrap process that uses its own configuration file named persistence.xml. How this bootstrapping works is defined by the JPA specification. In Javaâ„¢ SE environments the persistence provider (Hibernate in this case) is required to locate all JPA configuration files by classpath lookup of the META-INF/persistence.xml resource name. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1302</link><pubDate>Wed, 28 Dec 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ A complete sample program in AJAX ]]></title><description><![CDATA[ Here is a complete AJAX example with a simple HTTP request. Our JavaScript will request an HTML document,Â test.html, which contains the text "I'm a test." and then we'llÂ alert()Â the contents of thetest.htmlÂ file. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1287</link><pubDate>Mon, 28 Nov 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Getting Started with JDBC ]]></title><description><![CDATA[ This tutorial helps you to set up a JDBCâ„¢ development environment. This includes the following steps: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=631</link><pubDate>Wed, 12 Oct 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ JDBC and Tomcat context settings ]]></title><description><![CDATA[ JDBC (Java Database Connectivity) is a Java API for connecting and interacting with relational databases. Tomcat is a popular web server and servlet container that can also be used to run Java web applications. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=615</link><pubDate>Fri, 07 Oct 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ JSP Tags for SQL to connect to a database ]]></title><description><![CDATA[ The JSTL, includes a set of JSP tags that allow you to access a database via SQL directly from your JSP pages. The obvious advantage of the JSP tags for SQL is simplicity. It's easy to query the database and to throw the results up on a web page. This is great for simple applications that need only to display database data on a web page and make simple database table updatesâ€”JSP tags for SQL work well. The <sql:query> tag executes an SQL query and returns a result set object that you can iterate over and display with other JSTL tags. You can also perform database table updates. The <sql:update> tag executes an SQL update. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=614</link><pubDate>Thu, 06 Oct 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ GUI components and menu based J2ME Applications. ]]></title><description><![CDATA[ The central abstraction of the MIDP UI is a screen, which is an object that encapsulates device-specific graphics rendering user input. Only one screen can be visible at a time, and the user can traverse only through the items on that screen. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=419</link><pubDate>Fri, 16 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ SimpleDateFormat sample program in Java ]]></title><description><![CDATA[ SimpleDateFormat is a concrete subclass of DateFormat. It allows you to define your own formatting patterns that are used to display date and time information. One of its constructors is shown here: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=406</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ What is Reflection? - getConstructors(), getFields(), and getMethods() ]]></title><description><![CDATA[ Reflection is the ability of software to analyze itself. This is provided by the java.lang.reflect package and elements in Class. Reflection is an important capability, needed when using components called Java Beans. It allows you to analyze a software component and describe its capabilities dynamically, at run time rather than at compile time. For example, by using reflection, you can determine what methods, constructors, and fields a class supports. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=404</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ AWT-based applications with a User Interface Window in Java ]]></title><description><![CDATA[ It is possible to create stand-alone AWT-based applications with a Window. To do this, simply create an instance of the window or windows you need inside main(). For example, the following program creates a frame window that responds to mouse clicks and keystrokes: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=403</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ UDP Datagram sample program in Java ]]></title><description><![CDATA[ Datagrams are bundles of information passed between machines. They are somewhat like a hard throw from a well-trained but blindfolded catcher to the third baseman. Once the datagram has been released to its intended target, there is no assurance that it will arrive or even that someone will be there to catch it. Likewise, when the datagram is received, there is no assurance that it hasn't been damaged in transit or that whoever sent it is still there to receive a response. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=402</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ URLConnection sample program in Java ]]></title><description><![CDATA[ URLConnection is a general-purpose class for accessing the attributes of a remote resource. Once you make a connection to a remote server, you can use URLConnection to inspect the properties of the remote object before actually transporting it locally. These attributes are exposed by the HTTP protocol specification and, as such, only make sense for URL objects that are using the HTTP protocol. We'll examine the most useful elements of URLConnection here. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=401</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ A Simple whois program in Java ]]></title><description><![CDATA[ The very simple example that follows opens a connection to a "whois" port on the InterNIC server, sends the command-line argument down the socket, and then prints the data that is returned. InterNIC will try to look up the argument as a registered Internet domain name, then send back the IP address and contact information for that site. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=400</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ InetAddress get local and remote IP in Java ]]></title><description><![CDATA[ The InetAddress class has no visible constructors. To create an InetAddress object, you have to use one of the available factory methods. Factory methods are merely a convention whereby static methods in a class return an instance of that class. This is done in lieu of overloading a constructor with various parameter lists when having unique method names makes the results much clearer. In the case of InetAddress, the three methods getLocalHost(), getByName(), and getAllByName() can be used to create instances of InetAddress. These methods are shown here: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=399</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ A Serialization Example in Java ]]></title><description><![CDATA[ The following program illustrates how to use object serialization and deserialization. It begins by instantiating an object of class MyClass. This object has three instance variables that are of types String, int, and double. This is the information we want to save and restore. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=398</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ StreamTokenizer sample program in Java ]]></title><description><![CDATA[ StreamTokenizer defines several methods. In this example, we will use only a few. To reset the default set of delimiters, we will employ the resetSyntax() method. The default set of delimiters is finely tuned for tokenizing Java programs and is thus too specialized for this example. We declare that our tokens, or "words," are any consecutive string of visible characters delimited on both sides by whitespace. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=397</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ PushbackReader sample program in Java ]]></title><description><![CDATA[ The PushbackReader class allows one or more characters to be returned to the input stream. This allows you to look ahead in the input stream. Here are its two constructors: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=396</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ BufferedReader sample program in Java ]]></title><description><![CDATA[ As is the case with the byte-oriented stream, buffering an input character stream also provides the foundation required to support moving backward in the stream within the available buffer. To support this, BufferedReader implements the mark() and reset() methods, and BufferedReader.markSupported() returns true. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=395</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ CharArrayWriter sample program in Java ]]></title><description><![CDATA[ CharArrayWriter is an implementation of an output stream that uses an array as the destination. CharArrayWriter has two constructors, shown here: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=394</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ CharArrayReader example program in Java ]]></title><description><![CDATA[ CharArrayReader is an implementation of an input stream that uses a character array as the source. This class has two constructors, each of which requires a character array to provide the data source: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=393</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ FileReader and FileWriter example program in Java ]]></title><description><![CDATA[ The FileReader class creates a Reader that you can use to read the contents of a file. FileWriter creates a Writer that you can use to write to a file. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=392</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ SequenceInputStream example program in Java ]]></title><description><![CDATA[ The SequenceInputStream class allows you to concatenate multiple InputStreams. The construction of a SequenceInputStream is different from any other InputStream. A SequenceInputStream constructor uses either a pair of InputStreams or an Enumeration of InputStreams as its argument: ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=391</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ How to Make an HTTP Request in AJAX ]]></title><description><![CDATA[ In order to make an HTTP request to the server using JavaScript, you need an instance of a class that provides you this functionality. Such a class was originally introduced in Internet Explorer as an ActiveX object, called XMLHTTP. Then Mozilla, Safari and other browsers followed, implementing an XMLHttpRequest class that supports the methods and properties of Microsoft's original ActiveX object. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1285</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ What is Groovy? Getting Started with Groovy - A tutorial ]]></title><description><![CDATA[ If you are a Java developer, or any programmer who has written code in Java, you know that although Java is a very powerful language, some things are easier than others. For example, creating structure and objects through classes is great in Java, but file I/O can be a real hassle. In those cases, a dynamic language with features akin to Ruby, Python, or other scripting languages would be a great help. That's where Groovy comes in. Groovy is a somewhat recent development that allows Java programmers to easily script functionality into their programs and improve productivity. The purpose of this tutorial is to introduce Java programmers to Groovy through the traditional "Hello World" application and encourage further exploration of this language. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1207</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Enterprise Architect (SCEA) certification ]]></title><description><![CDATA[ Sun Certified Enterprise Architect (SCEA) certification is for enterprise architects responsible for architecting and designing Java EE compliant applications. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=725</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Mobile Application Developer (SCMAD) Certification ]]></title><description><![CDATA[ Sun Certified Mobile Application Developer (SCMAD) certification is for developers who create mobile applications using Java technologies for cell phones or "smart" devices.  ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=724</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[  Sun Certified Developer for Java Web Services (SCDJWS) Certification ]]></title><description><![CDATA[ Sun Certified Developer for Java Web Services (SCDJWS) certification is for developers who create Web service for applications using Java technology components. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=723</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Business Component Developer (SCBCD) Certification ]]></title><description><![CDATA[ Sun Certified Business Component Developer (SCBCD) certification is for Enterprise JavaBeans (EJB) technology business component developers who are responsible for designing, developing, testing, deploying and integrating EJB applications.  ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=722</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Web Component Developer (SCWCD) Certification ]]></title><description><![CDATA[ The Sun Certified Web Component Developer (SCWCD) Certification has been renamed as Oracle Certified Professional, Java EE 5 Web Component Developer Certification. However, this certification is no longer available as it has been replaced by newer Java EE certifications. The latest Oracle Certified Professional, Java EE Web Component Developer certification is available for Java EE 7 version. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=721</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Java Developer (SCJD) Certification ]]></title><description><![CDATA[ The Sun Certified Java Developer (SCJD) certification was a certification program offered by Sun Microsystems, which is now owned by Oracle Corporation. The SCJD certification was designed for Java developers who have a solid understanding of Java programming and who are interested in developing network-based Java applications. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=720</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Java Programmer (SCJP) Certification ]]></title><description><![CDATA[ The Sun Certified Java Programmer (SCJP) certification is now known as the Oracle Certified Professional, Java SE 11 Developer certification. It is an intermediate-level certification that validates the knowledge of Java Standard Edition (Java SE) 11 platform.  ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=719</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Sun Certified Java Associate (SCJA) Certification ]]></title><description><![CDATA[ The Sun Certified Java Associate (SCJA) certification was retired in 2013 and is no longer available. It was an entry-level certification that validated foundational Java programming knowledge and skills. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=718</link><pubDate>Tue, 05 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ A Basic Example using PHP in AWS (Amazon Web Services) ]]></title><description><![CDATA[ While there are a number of ways to get all these services running, including very convenient management interfaces in Firefox (such as Elasticfox), plus web-based management tools from RightScale and Scalr, we'll do it all with PHP and the API, since that's what this article is about. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1192</link><pubDate>Sun, 03 Jul 2022 00:00:00 +0000</pubDate></item><item><title><![CDATA[ Introduction to Amazon Web Services ]]></title><description><![CDATA[ While Amazon Web Services (AWS) may seem like an unusual service for an online retailer, AWS is actually a natural progression for a company as seasoned at providing rock-solid internet applications as Amazon. Over the years, Amazon has cultivated a tremendous amount of knowledge around what it takes to build and maintain a successful, highly scalable web application. Fortunately for the rest of us, they've made this knowledge available to all developers via AWS. ]]></description><link>https://www.java-samples.com/showtutorial.php?tutorialid=1191</link><pubDate>Sun, 03 Jul 2022 00:00:00 +0000</pubDate></item></channel></rss>