java

A simple to use Java 8 JWT Library

Comments




java

SplineTech JavaScript Debugger PRO update boosts unique new features

Spline Technologies Corporation announces a major update to SplineTech JavaScript Debugger PRO, an independent standalone Web development tool that enables Web developers to easily edit and debug JavaScript and VBScript inside HTML and AJAX pages, without the need for any add-ons, plugins or changes of their code to handle the debugging process. Client-side JavaScript, JScript and client-side VBScript debugging languages are fully supported for simple and complex HTML, DHTML and AJAX debugging scenarios.

 SplineTech JavaScript Debugger PRO offers following main features to address the most common Web development issues:

 - Advanced form debugging for JavaScript form validation - Programmers to cause order forms to validate in clients' browser windows before they are submitted.
 - JavaScript pop-up debugging
 - Debug DHTML menus and JavaScript menus
 - Debug JavaScript and VBScript events: Debug JavaScript Pop-ups, onclick, onmouseover, onfocus and any
 other event.
 - Debug DHTML behavior
 - Debug client-side JavaScript controls: Debug calendars and any other control
 - Multi-Functional VBScript and JavaScript script editor for HTML and AJAX
 - Full Support for native VBScript and JavaScript syntax (color-coded)
 - Explicit JavaScript runtime error information
 - Execution line highlighting: Display the current line of the code to be executed

 Aside from a vast array of main features, this major update of SplineTech JavaScript Debugger PRO includes these new and unique features:
 - Pause code execution in 3, 5 or more seconds (user adjustable)
 - Reformat unreadable JavaScript and AJAX scripts (turns large one-line AJAX scripts into properly formatted readable multi-line code)
 - Step Through multiple lines of code at once (user adjustable)
 - Go back (and forth) to any step within your code
 - Call Stack enables developers to view all function names taken from function lists (since IE reports most of them as anonymous)
 - View all current variables in a dedicated Current Variables panel

 Without requiring any manual configuration or network configuration, SplineTech JavaScript Debugger PRO runs on the Windows 7/2008/2000/2003/XP and Windows Server 2008 platforms (both x86 and x64) with Microsoft Internet Explorer 6.0 or better.

 SplineTech JavaScript Debugger PRO is priced at $90 per single-user license, and is available for purchase at
 http://www.RemoteDebugger.com/javascript_debugger/javascript_debugger.asp

 Immediate online product delivery and full support is included with all Spline Technologies products.

 ABOUT:
 Spline Technologies Corporation is a growing dynamic international software development company, specializing in web development tools, with headquarters in beautiful downtown Montreal, Canada, since 1999.




java

Implementing NSLookup In Java

NSLookup is a command line utility that, given an IP address, returns the corresponding host name and vice versa. This article explains how to write an NSLookup clone in Java.




java

A Java Developer's Review of Fedora 8

The latest version of the Fedora Linux Distribution includes a completely open source Java compiler and JVM called IcedTea, in addition to several Java tools and libraries. We took Fedora 8's tools for a spin and reported our findings in this article.




java

Six Eccentric Compact Javascript Frameworks at a Glance

JavaScript is a requisite and a crucial part for developing WebPages and Websites whether it be a professional website or a simple page or whether you are  an experienced developer or a naïve person JavaScript is a must for Web Development. In this day and age , JavaScript Framework have become extra specialized and powerful …

Six Eccentric Compact Javascript Frameworks at a Glance Read More »




java

News roundup: deck.js, Yahoo Kills off Maps API, Patterns for Large-Scale JavaScript Application Architecture

Listen to this week's podcast (September 9, 2011) Patterns For Large-Scale JavaScript Application Architecture Patterns For Large-Scale JavaScript Application Architecture is a lengthy article by Addy Osmani detailing some basic principles of writing a large-scale JavaScript application. It's inspired by a classic Nicholas Zakas talk outlining some of the same principles ...




java

News roundup: JavaScript under attack!

Listen to this week's podcast (Podcast edit: I mistakenly mention Respond.js, which is actually a media query polyfill - I'm actually talking about Responsive images) Google Dart By far the biggest news of the week isn't JavaScript, but rather a language called Dart (formerly Dash?), which certain factions within Google hope will replace ...




java

News roundup: 11-11-11! insertAdjacentHTML, classes in JavaScript?, twilight of Flash and Silverlight, Yahoo! Cocktails

Listen to the podcast for November 11, 2011 insertAdjacentHTML Mozilla has a nice overview of insertAdjacentHTML, a DOM function that's intended to supplement innerHTML. It's a bit less destructive and plays nicely with content that's already in the DOM. For instance, whereas innerHTML completely blows away whatever is inside the ...




java

News roundup: iOS Orientationchange Fix, JavaScript Patterns, jQ.Mobi

Listen to this week's podcast (January 20, 2012)! iOS Orientationchange Fix jQuery Mobile's Scott Jehl has released iOS-Orientationchange-Fix (read his blog post). This has been a persistent annoyance on iOS since its release. You may be familiar with the mobile viewport tag, which allows you to properly fit sites to ...




java

Assessing Students’ Structured Programming Skills with Java: The “Blue, Berry, and Blueberry” Assignment




java

Students’ Understanding of Advanced Properties of Java Exceptions




java

Concept–based Analysis of Java Programming Errors among Low, Average and High Achieving Novice Programmers

Aim/Purpose: The study examined types of errors made by novice programmers in different Java concepts with students of different ability levels in programming as well as the perceived causes of such errors. Background: To improve code writing and debugging skills, efforts have been made to taxonomize programming errors and their causes. However, most of the studies employed omnibus approaches, i.e. without consideration of different programing concepts and ability levels of the trainee programmers. Such concepts and ability specific errors identification and classifications are needed to advance appropriate intervention strategy. Methodology: A sequential exploratory mixed method design was adopted. The sample was an intact class of 124 Computer Science and Engineering undergraduate students grouped into three achievement levels based on first semester performance in a Java programming course. The submitted codes in the course of second semester exercises were analyzed for possible errors, categorized and grouped across achievement level. The resulting data were analyzed using descriptive statistics as well as Pearson product correlation coefficient. Qualitative analyses through interviews and focused group discussion (FGD) were also employed to identify reasons for the committed errors. Contribution:The study provides a useful concept-based and achievement level specific error log for the teaching of Java programming for beginners. Findings: The results identified 598 errors with Missing symbols (33%) and Invalid symbols (12%) constituting the highest and least committed errors respec-tively. Method and Classes concept houses the highest number of errors (36%) followed by Other Object Concepts (34%), Decision Making (29%), and Looping (10%). Similar error types were found across ability levels. A significant relationship was found between missing symbols and each of Invalid symbols and Inappropriate Naming. Errors made in Methods and Classes were also found to significantly predict that of Other Object concepts. Recommendations for Practitioners: To promote better classroom practice in the teaching of Java programming, findings for the study suggests instructions to students should be based on achievement level. In addition to this, learning Java programming should be done with an unintelligent editor. Recommendations for Researchers: Research could examine logic or semantic errors among novice programmers as the errors analyzed in this study focus mainly on syntactic ones. Impact on Society: The digital age is code-driven, thus error analysis in programming instruction will enhance programming ability, which will ultimately transform novice programmers into experts, particularly in developing countries where most of the software in use is imported. Future Research: Researchers could look beyond novice or beginner programmers as codes written by intermediate or even advanced programmers are still not often completely error free.




java

Objective Assessment in Java Programming Language Using Rubrics

Aim/Purpose: This paper focuses on designing and implementing the rubric for objective JAVA programming assessments. An unsupervised learning approach was used to group learners based on their performance in the results obtained from the rubric, reflecting their learning ability. Background: Students' learning outcomes have been evaluated subjectively using a rubric for years. Subjective assessments are simple to construct yet inconsistent and biased to evaluate. Objective assessments are stable, reliable, and easy to conduct. However, they usually lack rubrics. Methodology: In this study, a Top-Down assessment approach is followed, i.e., a rubric focused on the learning outcome of the subject is designed, and the proficiency of learners is judged by their performance in conducting the task given. A JAVA rubric is proposed based on the learning outcomes like syntactical, logical, conceptual, and advanced JAVA skills. A JAVA objective quiz (with multiple correct options) is prepared based on the rubric criteria, comprising five questions per criterion. The examination was conducted for 209 students (100 from the MCA course and 109 from B.Tech. course). The suggested rubric was used to compute the results. K-means clustering was applied to the results to classify the students according to their learning preferences and abilities. Contribution: This work contributes to the field of rubric designing by creating an objective programming assessment and analyzing the learners’ performance using machine learning techniques. It also facilitates a reliable feedback approach offering various possibilities in student learning analytics. Findings: The designed rubric, partial scoring, and cluster analysis of the results help us to provide individual feedback and also, group the students based on their learning skills. Like on average, learners are good at remembering the syntax and concepts, mediocre in logical and critical thinking, and need more practice in code optimization and designing applications. Recommendations for Practitioners: The practical implications of this work include rubric designing for objective assessments and building an informative feedback process. Faculty can use this approach as an alternative assessment measure. They are the strong pillars of e-assessments and virtual learning platforms. Recommendation for Researchers: This research presents a novel approach to rubric-based objective assessments. Thus, it provides a fresh perspective to the researchers promising enough opportunities in the current era of digital education. Impact on Society: In order to accomplish the shared objective of reflective learning, the grading rubric and its accompanying analysis can be utilized by both instructors and students. As an instructional assessment tool, the rubric helps instructors to align their pedagogies with the students’ learning levels and assists students in updating their learning paths based on the informative topic-wise scores generated with the help of the rubric. Future Research: The designed rubric in this study can be extended to other programming languages and subjects. Further, an adaptable weighted rubric can be created to execute a flexible and reflective learning process. In addition, outcome-based learning can be achieved by measuring and analyzing student improvements after rubric evaluation.




java

Suggested Topics for an IS Introductory Course in Java




java

A Beginning Specification of a Model for Evaluating Learning Outcomes Grounded in Java Programming Courses




java

A Packet Sniffer (PSniffer) Application for Network Security in Java




java

Noon Concert: Javanese Gamelan, Dec. 4

Javanese Gamelan-New and Traditional:An afternoon of Javanese Gamelan featuring a variety of works for traditional gamelan instruments.Midiyanto, director Admission to all Noon Concerts is free. Registration is recommended at music.berkeley.edu/register.Safety The UC Berkeley Department of Music is committed to the health and safety of our students, staff, and patrons. Measures to protect concertgoers and musicians will be informed by state, local, and UC Berkeley Public Health policies and are subject to change. Social distancing, masks, and proof of COVID 19 vaccination may be required. UC Berkeley does not promise or guarantee that all patrons or employees on site are vaccinated. Unvaccinated individuals may be present as a result of exemptions, exceptions, fraudulent verification, or checker error. None of these precautions eliminate the risk of exposure to COVID-19. Registration is strongly encouraged for noon concerts at music.berkeley.edu/register.Accessibility If you require an accommodation for effective communication (ASL interpreting/CART captioning, alternative media formats, etc.) or information about campus mobility access features in order to fully participate in this event, please contact the Hertz Hall Manager at 510.642.4864 or hertzhallmgr@berkeley.edu. with as much advance notice as possible and at least 7-10 days in advance of the event. Facebook: @ucbmusicdept Instagram: @ucberkeleymusic  Twitter @ucbmusicdept Youtube: Berkeley Music YouTube channel




java

Structure and absolute configuration of natural fungal product beauveriolide I, isolated from Cordyceps javanica, determined by 3D electron diffraction

Beauveriolides, including the main beauveriolide I {systematic name: (3R,6S,9S,13S)-9-benzyl-13-[(2S)-hexan-2-yl]-6-methyl-3-(2-methyl­prop­yl)-1-oxa-4,7,10-tri­aza­cyclo­tridecane-2,5,8,11-tetrone, C27H41N3O5}, are a series of cyclo­depsipeptides that have shown promising results in the treatment of Alzheimer's disease and in the prevention of foam cell formation in atherosclerosis. Their crystal structure studies have been difficult due to their tiny crystal size and fibre-like morphology, until now. Recent developments in 3D electron diffraction methodology have made it possible to accurately study the crystal structures of submicron crystals by overcoming the problems of beam sensitivity and dynamical scattering. In this study, the absolute structure of beauveriolide I was determined by 3D electron diffraction. The cyclo­dep­si­peptide crystallizes in the space group I2 with lattice parameters a = 40.2744 (4), b = 5.0976 (5), c = 27.698 (4) Å and β = 105.729 (6)°. After dynamical refinement, its absolute structure was determined by comparing the R factors and calculating the z-scores of the two possible enanti­omorphs of beauveriolide I.




java

Create a breakout game with HTML, CSS, and vanilla JavaScript

Let’s create a Breakout game using Vanilla JavaScript. In a Breakout game, the player uses a paddle to bounce a ball and hit bricks, removing the bricks one by one.




java

Regexes Got Good: The History And Future Of Regular Expressions In JavaScript

Although JavaScript regexes used to be underpowered compared to other modern flavors, numerous improvements in recent years mean that’s no longer true. Steven Levithan evaluates the history and present state of regular expressions in JavaScript with tips to make your regexes more readable, maintainable, and resilient.




java

Generating Unique Random Numbers In JavaScript Using Sets

Want to create more randomized effects in your JavaScript code? The `Math.random()` method alone, with its limitations, won’t cut it for generating unique random numbers. Amejimaobari Ollornwi explains how to generate a series of unique random numbers using the `Set` object, how to use these random numbers as indexes for arrays, and explores some practical applications of randomization.




java

java-ow-util-ant-tasks 1.3.2-3 i686

ObjectWeb utility Ant tasks library




java

java-sonatype-oss-parent 7-1 i686

Metadata file for Maven-based build systems to inherit from




java

java-asm2 2.2.3-7 i686

An all purpose Java bytecode manipulation and analysis framework.




java

java-asm3 3.3.1-7 i686

An all purpose Java bytecode manipulation and analysis framework.




java

java-cup 0.10.k-1 i686

LALR parser generator for Java




java

java-ow-util-ant-tasks 1.3.2-3 armv7h

ObjectWeb utility Ant tasks library




java

java-sonatype-oss-parent 7-1 armv7h

Metadata file for Maven-based build systems to inherit from




java

java-asm2 2.2.3-7 armv7h

An all purpose Java bytecode manipulation and analysis framework.




java

java-asm3 3.3.1-7 armv7h

An all purpose Java bytecode manipulation and analysis framework.




java

java-cup 0.10.k-1 armv7h

LALR parser generator for Java




java

java-ow-util-ant-tasks 1.3.2-3 x86_64

ObjectWeb utility Ant tasks library




java

java-sonatype-oss-parent 7-1 x86_64

Metadata file for Maven-based build systems to inherit from




java

java-asm2 2.2.3-7 x86_64

An all purpose Java bytecode manipulation and analysis framework.




java

java-asm3 3.3.1-7 x86_64

An all purpose Java bytecode manipulation and analysis framework.




java

java-cup 0.10.k-1 x86_64

LALR parser generator for Java




java

Episode 15: The Future of Enterprise Java

A very important area for Java are Enterprise Systems. With the advent of new technologies like Ruby on Rails, Java EE 5 or EJB 3 the landscape for Enterprise Systems appears to be changing a lot at the moment. In this episode Markus talks with Eberhard about what Enterprise Java actually is, why and where it is used. Based on that they discuss what the future might look like and how to make Enterprise Java shine in the future.




java

SE-Radio Episode 248: Axel Rauschmayer on JavaScript and ECMAScript 6

Johannes Thönes talks to Axel Rauschmayer about JavaScript and ECMAScript 6. They talk about the origin and version history. Then they dive into key JavaScript concepts and explain the features coming into the language with ECMAScript 6.




java

SE-Radio-Episode-255:-Monica-Beckwith-on-Java-Garbage-Collection

Monica Beckwith joins Robert Blumen for a discussion of java garbage collection. What is garbage collection? GC algorithms; history of GC in the java language; fragmentation and compaction; generational strategies; causes of pauses; impact of pauses on application performance; tuning GC; GC on multi-core and large memory machines; should production servers be implemented in non-GC languages?; going off heap and other programming techniques to avoid garbage; the future of java GC.




java

SE-Radio Episode 316: Nicolai Parlog on Java 9

Nate Black talks with Nicolai Parlog about Java 9. Topics include: a timeline of Java features; new patterns enabled by Java 8 lambdas, default interface implementations and how they enable code evolution; how Java 9 takes this further with private default methods; an introduction to Java modules: the Java Platform Module System (JPMS); “launch time” dependency validation; module “requires” and “exports”: documentation as code and a new topic for code reviews; how to migrate an existing codebase to Java 9 and modules; benefits of Java modules: reliable configuration and a smaller Java runtime; the new Java release schedule.




java

Episode 402: Rich Harris on the Svelte JavaScript Framework

Rich Harris, author of the JavaScript module bundler Rollup, discusses his JavaScript framework Svelte as a high-performance alternative to mainstay frameworks like React, Angular, and Vue. We begin with a brief overview of the framework and how...




java

Episode 465: Kevlin Henney and Trisha Gee on 97 Things Every Java Programmer Should Know

Trisha Gee and Kevlin Henney of 97 things every Java developer should know discusses their book, which is a collection of essays by different developers covering the most important things to know. Host Felienne spoke withGee and Henney about all things...




java

How to Read an RSS Feed with Java Using XOM

There are a lot of libraries for processing XML data with Java that can be used to read RSS feeds. One of the best is the open source library XOM created by the computer book author Elliotte Rusty Harold.

As he wrote one of his 20 books about Java and XML, Harold got so frustrated with the available Java libraries for XML that he created his own. XOM, which stands for XML Object Model, was designed to be easy to learn while still being strict about XML, requiring documents that are well-formed and utilize namespaces in complete adherence to the specification. (At the RSS Advisory Board, talk of following a spec is our love language.)

XOM was introduced in 2002 and is currently up to version 1.3.9, though all versions have remained compatible since 1.0. To use XOM, download the class library in one of the packages available on the XOM homepage. You can avoid needing any further configuration by choosing one of the options that includes third-party JAR files in the download. This allows XOM to use an included SAX parser under the hood to process XML.

Here's Java code that loads items from The Guardian's RSS 2.0 feed containing articles by Ben Hammersley, displaying them as HTML output:

// create an XML builder and load the feed using a URL
Builder bob = new Builder();
Document doc = bob.build("https://www.theguardian.com/profile/benhammersley/rss");
// load the root element and channel
Element rss = doc.getRootElement();
Element channel = rss.getFirstChildElement("channel");
// load all items in the channel
Elements items = channel.getChildElements("item");
for (Element item : items) {
  // load elements of the item
  String title = item.getFirstChildElement("title").getValue();
  String author = item.getFirstChildElement("creator",
    "http://purl.org/dc/elements/1.1/").getValue();
  String description = item.getFirstChildElement("description").getValue();
  // display the output
  System.out.println(">h2>" + title + ">/h2>");
  System.out.println(">p>>b>By " + author + ">/b>>/p>");
  System.out.println(">p>" + description + ">/p>");

All of the classes used in this code are in the top-level package nu.xom, which has comprehensive JavaDoc describing their use. Like all Java code this is a little long-winded, but Harold's class names do a good job of explaining what they do. A Builder uses its build() method with a URL as the argument to load a feed into a Document over the web. There are also other build methods to load a feed from a file, reader, input stream, or string.

Elements can be retrieved by their names such as "title", "link" or "description". An element with only one child of a specific type can be retrieved using the getFirstChildElement() method with the name as the argument:

Element linkElement = item.getFirstChildElement("link");

An element containing multiple children of the same type uses getChildElements() instead:

Elements enclosures = item.getChildElements("enclosure");
if (enclosures.size() > 1) {
  System.out.println("I'm pretty sure an item should only include one enclosure");
}

If an element is in a namespace, there must be a second argument providing the namespace URI. Like many RSS feeds, the ones from The Guardian use a dc:creator element from Dublin Core to credit the item's author. That namespace has the URI "http://purl.org/dc/elements/1.1/".

If the element specified in getFirstChildElement() or getChild Elements() is not present, those methods return null. You may need to check for this when adapting the code to load other RSS feeds.

If the name Ben Hammersley sounds familiar, he coined the term "podcasting" in his February 2004 article for The Guardian about the new phenomenon of delivering audio files in RSS feeds.




java

Null object in javascript - Stack Overflow

good answer to what null is about in javascript




java

Java EE Development Debate - Part 2 of 3

Jeff West, Arun Gupta, Cary Milsap, and Brian Jimerson continue their debate on the pros and cons of various Java EE development methodologies.




java

Java EE Development Debate - Part 3 of 3

Jeff West, Arun Gupta, Cary Milsap, and Brian Jimerson close out their debate on Java EE development methodologies.




java

Java EE 7, HTML 5, and Mobile App Development - Part 1

Two Java evangelists and two product managers sit down for a wide-ranging roundtable discussion.




java

Java EE 7, HTML 5, and Mobile App Development - Part 2

The panel discusses the development gap and the need to adapt existing developer skills for evolving business requirements.




java

Java EE 7, HTML 5, and Mobile App Development - Part 3

The panel looks at the forces shaping mobile app development and discusses how Java developers can take advantage.




java

#363: JET-Propelled JavaScript

JavaScript has been around since 1995. But a lot has changed in nearly a quarter-century. No longer limited to the browser, JavaScript has become a full fledged programming language, finding increasing use in enterprise application development. In this program we will explore the evolution of JavaScript , discuss how it is used in modern development projects, and then take a close look at Oracle JavaScript Extension Toolkit, otherwise known as JET.

View the complete show notes.