JavaPins - Stories tagged with classes
1
Pins

ricardozuasti.com - List all classes in a package (even from a JAR file) «

posted by anishaanisha 591 days, 5 hours, 18 minutes ago
Tuesday, September 04, 2012 6:01:47 PM GMT
I recently had the need to list all the classes available within a given list of packages, to execute them via reflection as part of a plugin architecture in a new product we are developing. This proved to be a little more hard than it should, since Javas provided reflection utilities don’t have any metadata regarding the contents of a package available in your classpath. (more)
category: JAVA | clicked: 0 | comment | | source: ricardozuasti.com
tags: classes, package
1
Pins

Inspired by Actual Events: Useful Lesser Known Java Classes

posted by anishaanisha 614 days, 3 hours, 58 minutes ago
Sunday, August 12, 2012 7:21:24 PM GMT
A recent reddit Java thread is titled "Share a useful class from the standard Java Class Library!" and starts with the comment, "There are so many available classes and sometimes ones exist that you don't realize. Share one that you use that the rest of us may not be aware of!" In this post, I look at some of the (mostly JDK) classes mentioned in the forty (at time of this writing) responses to this request. (more)
category: JAVA | clicked: 0 | comment | | source: marxsoftware.blogspot.in
tags: classes, Java
1
Pins

Top 10 Java Classes

published 633 days, 13 hours, 28 minutes ago posted by pankajsharmapankajsharma 636 days, 2 hours, 48 minutes ago
Tuesday, July 24, 2012 9:51:11 AM GMT Saturday, July 21, 2012 8:31:51 PM GMT
Thought of compiling a list of classes that are popular among java programmers. Should I say most essential? There is no strict rules for the selection, in fact there are no rules followed. Classes that popped up on top of mind are listed below. You are welcome to add your own list. This list will vary depending on the type of java project you work on. These classes I have listed does not require any introduction and they are as popular as Rajnikanth in java world. Have fun! java.lang.String... (more)
category: JAVA | clicked: 19 | comment | | source: javapapers.com
tags: classes, Java
1
Pins

Struts Action classes

published 669 days, 12 hours, 18 minutes ago posted by nehaguptanehagupta 669 days, 13 hours, 18 minutes ago
Monday, June 18, 2012 11:01:39 AM GMT Monday, June 18, 2012 10:01:08 AM GMT
ForwardAction : This is an Action that forwards to the context-relative URI specified by the parameter property of our associatedActionMapping. This can be used to integrate Struts with other business logic components that are implemented asservlets or JSP pages, but still take advantage of the Struts controller servlet's functionality such as processing of form beans. To configure the use of this Action in our struts-config.xml file, create an entry like this: This one will forward control to the... (more)
category: Struts | clicked: 1 | comment | | source: www.javastuff.in
tags: Action, classes, Struts
1
Pins

Myth: JavaScript needs classes

published 717 days, 11 hours ago posted by pankajsharmapankajsharma 718 days, 2 hours, 12 minutes ago
Tuesday, May 01, 2012 12:19:04 PM GMT Monday, April 30, 2012 9:07:19 PM GMT
A popular JavaScript myth is that JavaScript’s prototypal inheritance is complicated and that to fix it, we need classes. This post explains that that opinion is not completely wrong, but misses some important points. Prototypal inheritance is simple In one way, JavaScript is clearly superior to most class-based languages – you can directly create objects: (more)
category: JAVA | clicked: 0 | comment | | source: www.2ality.com
tags: classes, JavaScript
1
Pins

Prototypes as classes – an introduction to JavaScript inheritance

published 715 days, 10 hours, 5 minutes ago posted by pankajsharmapankajsharma 718 days, 2 hours, 14 minutes ago
Thursday, May 03, 2012 1:14:39 PM GMT Monday, April 30, 2012 9:05:26 PM GMT
JavaScript’s prototypal inheritance is hard to understand, especially for people coming from other languages that are used to classes. This post explains that it does not have to be that way: The proposal “prototypes as classes” is a simplification of classes and inheritance in JavaScript. It might become part of ECMAScript.next, a.k.a. “the next version of JavaScript” (after ECMAScript 5). But there is also a library that allows you to use its features in today’s JavaScript. What’s intriguing about prot... (more)
category: JAVA | clicked: 1 | comment | | source: www.2ality.com
tags: classes, inheritance, JavaScript
1
Pins

JavaScript does not need classes

published 715 days, 10 hours, 5 minutes ago posted by pankajsharmapankajsharma 718 days, 2 hours, 15 minutes ago
Thursday, May 03, 2012 1:14:39 PM GMT Monday, April 30, 2012 9:04:13 PM GMT
Executive summary: The core of JavaScript’s prototypal inheritance is very simple, it is just obscured by an awkward way of creating instances via constructors. Therefore, we don’t need classes, we just need to fix constructors. Read on for three ways of doing so. Prototypal inheritance is simple In one way, JavaScript is clearly superior to most class-based languages – you can directly create objects: (more)
category: JAVA | clicked: 3 | comment | | source: css.dzone.com
tags: classes, JavaScript
1
Pins

JSON with GSON and abstract classes - Java Code Geeks

published 712 days, 7 hours, 59 minutes ago posted by jamesjames 719 days, 14 hours, 40 minutes ago
Sunday, May 06, 2012 3:20:32 PM GMT Sunday, April 29, 2012 8:38:59 AM GMT
I have switched to Google Gson after many years of using org.json library for supporting JSON data interchange format in Java. org.json is a lower-level library, so that you have to create JSONObject, JSONArray, JSONString, ... and do other low-level work. Gson simplifies this work. It provides simple toJson() and fromJson() methods to convert arbitrary Java objects to JSON and vice-versa, supports Java Generics, allows custom representations for objects, generates compact and readability JSON o... (more)
category: JAVA | clicked: 4 | comment | | source: www.javacodegeeks.com
tags: abstract, classes, GSON, JSON
1
Pins

Instant User Tracking with ClickStream

published 810 days, 8 hours, 22 minutes ago posted by karlenekarlene 810 days, 13 hours, 15 minutes ago
Sunday, January 29, 2012 2:57:20 PM GMT Sunday, January 29, 2012 10:04:53 AM GMT
Introducing ClickStream OpenSymphony's ClickStream is a user tracking component for Java web applications. This means you can take a look and analyze the traffic paths and the sequence of pages that users have generated as they browsed your site. This traffic path is called a clickstream and it is the logical grouping of a HTTP session identifier and the requests associated with it, until the end of this session. The good news is you can easily add this feature to your application by embedding OpenSympho... (more)
category: JAVA | clicked: 4 | comment | | source: today.java.net
tags: classes, Track, Users
2
Pins

Classes in Ext JS 4: Under the hood : Ed Spencer

published 819 days, 16 hours, 30 minutes ago posted by karlenekarlene 823 days, 18 hours, 33 minutes ago
Friday, January 20, 2012 6:49:30 AM GMT Monday, January 16, 2012 4:46:32 AM GMT
Last week we unveiled a the brand new class system coming in Ext JS 4. If you haven’t seen the new system in action I hope you’ll take a look at the blog post on sencha.com and check out the live demo. Today we’re going to dig a little deeper into the class system to see how it actually works. To briefly recap, the new class system enables us to define classes like this: (more)
category: Open Source | clicked: 6 | comment | | source: edspencer.net
tags: classes, Ext JS, extjs, ExtJS 4
3
Pins

Struts Classes

published 969 days, 12 hours, 31 minutes ago posted by pankajsharmapankajsharma 972 days, 4 hours, 47 minutes ago
Tuesday, August 23, 2011 10:48:54 AM GMT Saturday, August 20, 2011 6:32:14 PM GMT
By: Barbara Emailed: 296 times Printed: 290 times   As you'd expect in an MVC framework, every request starts at the Struts controller, the heart of which is the ActionServlet class. This servlet is usually mapped to the extension *.do. For example, a request for /process.do would end up with the ActionServlet and tell it that the user has submitted a pizza order: The controller servlet first determines what needs to be done. For every possible action uniform resource locator (URL), such ... (more)
category: Struts | clicked: 0 | comment | | source: www.java-samples.com
tags: classes, Struts