Scube software square systems8 open jobs

Senior Consultant- JAVA

BackendPosted 6 weeks agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
8–10 yearsImmediate joiners
Pay
Not listedUsually ₹15 LPABackend, median at 5–19 years, in India (Payscale)
Posted
6 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Java, Spring Boot, SQL and 3 more

About the job

Hi,

Hiring Senior Consultants- JAVA for Global Telecom giant.

Excellent package.

Skillset: Java, J2EE, Springboot, PL/SQL OR PGSQL, REST API, Oracle/Postgres DB

Exp: 8-10 yrs

Notice: 1 week or earlier

Location: Any (Noida/Bangalore/Pune). Work From Home

Must have skills:

1. Expertise in Java, J2EE, Springboot, Oracle or PostGreSQL
2. Good experience with writing REST APIs in Java

3. Basic understanding of SQL

4. Good communication and analytical skills
5. Ability to work in fast paced Agile environment with participation in scrum ceremonies.

Interested folks who are IMMEDIATE JOINERS may please apply here.

Experience: 8-10 Years

Bachelor's or Master's Degree in Computer Science or equivalent

Excellent work culture, Delicious Compensation, Work From Home

Global Telecom Giant in India.

Originally posted on Himalayas

Interested?Senior Consultant- JAVA at Scube software square systems

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Java, Spring Boot, SQL and 3 more

Interview questions for this job

For the skills the ad mentions: Java, Spring Boot, SQL, REST APIs, PostgreSQL and Agile.

783 questions
  • What's the difference between @Component, @Repository & @Service annotations in Spring?Java

    From Spring Documentation:

    The @Repository annotation is a marker for any class that fulfils the role or stereotype of a repository (also known as Data Access Object or DAO). Among the uses of this marker is the automatic translation of exceptions, as described in Exception Translation.

    Spring provides further stereotype annotations: @Component, @Service, and @Controller. @Component is a generic stereotype for any Spring-managed component. @Repository, @Service, and @Controller are specializations of @Component for more specific use cases (in the persistence, service, and presentation layers, respectively). Therefore, you can annotate your component classes with @Component, but, by annotating them with @Repository, @Service, or @Controller instead, your classes are more properly suited for processing by tools or associating with aspects.

    For example, these stereotype annotations make ideal targets for pointcuts. @Repository, @Service, and @Controller can also carry additional semantics in future releases of the Spring Framework. Thus, if you are choosing between using @Component or @Service for your service layer, @Service is clearly the better choice. Similarly, as stated earlier, @Repository is already supported as a marker for automatic exception translation in your persistence layer.

    Annotation Meaning
    @Component generic stereotype for any Spring-managed component
    @Repository stereotype for persistence layer
    @Service stereotype for service layer
    @Controller stereotype for presentation layer (spring-mvc)

    From Stack Overflow: asked by Colin McCree, answered by stivlo (CC BY-SA 4.0)

  • How make spring service thread-safe?Spring Boot

    There are several ways, probably too long to list here but here are a few examples:

    • Design your beans immutable: for example have no setters and only use constructor arguments to create a bean. There are other ways, such as Builder pattern, etc..
    • Design your beans stateless: for example a bean that does something can be just a function (or several). This bean in most cases can and should be stateless, which means it does not have any state, it only does things with function arguments you provide each time (on each invocation)
    • Design your beans persistent: which is a special case of "immutable", but has some very nice properties. Usually is used in functional programming, where Spring (at least yet) not as useful as in imperative world, but I have used them with Scala/Spring projects.
    • Design your beans with locks [last resort]: I would recommend against this unless you are working on a lower level library. The reason is we (humans) are not good thinking in terms of locks. Just the way we are raised and nurtured. Everything happens in parallel without us needing to "put that rain on pause, let me get an umbrella". Computers however are all about locks when you are talking "multiple things at the same time", hence there are some of us (exceptional people) who are doing their fair share and implementing libraries based on these locks. Most of other humans can just use these libraries and worry not about concurrency. Links
    • http://dolszewski.com/spring/spring-bean-thread-safety-guide/
    • https://stackoverflow.com/questions/15745140/are-spring-objects-thread-safe

    From Java interview (MIT)

  • OR vs AND?SQL

    AND requires ALL conditions to be true. OR requires ANY to be true. Use parentheses to control precedence — AND binds tighter than OR.

    -- Without parentheses, this is parsed as:
    -- WHERE (age > 18 AND city = 'NY') OR status = 'active'
    SELECT * FROM customers 
    WHERE age > 18 AND (city = 'NY' OR city = 'LA');
    

    From Cracking the SQL Interview (MIT)

  • Best Practices for securing a REST API / web serviceREST APIs

    As tweakt said, Amazon S3 is a good model to work with. Their request signatures do have some features (such as incorporating a timestamp) that help guard against both accidental and malicious request replaying.

    The nice thing about HTTP Basic is that virtually all HTTP libraries support it. You will, of course, need to require SSL in this case because sending plaintext passwords over the net is almost universally a bad thing. Basic is preferable to Digest when using SSL because even if the caller already knows that credentials are required, Digest requires an extra roundtrip to exchange the nonce value. With Basic, the callers simply sends the credentials the first time.

    Once the identity of the client is established, authorization is really just an implementation problem. However, you could delegate the authorization to some other component with an existing authorization model. Again the nice thing about Basic here is your server ends up with a plaintext copy of the client's password that you can simply pass on to another component within your infrastructure as needed.

    From Stack Overflow: asked by Nathan, answered by Greg Hewgill (CC BY-SA 2.5)

  • What is faster, one big query or many small queries?PostgreSQL

    What would address your question is the subject JOIN DECOMPOSITION.

    According to Page 209 of the Book

    You can decompose a join by running multiple single-table queries instead of a multitable join, and then performing the join in the application. For example, instead of this single query:

    SELECT * FROM tag
    JOIN tag_post ON tag_post.tag_id = tag.id
    JOIN post ON tag_post.post_id = post.id
    WHERE tag.tag = 'mysql';
    

    You might run these queries:

    SELECT * FROM tag WHERE tag = 'mysql';
    SELECT * FROM tag_post WHERE tag_id=1234;
    SELECT * FROM post WHERE post.id IN (123,456,567,9098,8904);
    

    Why on earth would you do this ? It looks wasteful at first glance, because you've increased the number of queries without getting anything in return. However, such restructuring can actually give significant performance advantages:

    • Caching can be more efficient. Many applications cache "objects" that map directly to tables. In this example, if the object with the tag mysql is already cached, the application will skip the first query. If you find posts with an ID of 123, 567, or 908 in the cache, you can remove them from the IN() list. The query cache might also benefit from this strategy. If only one of the tables changes frequently, decomposing a join can reduce the number of cache invalidations.
    • Executing the queries individually can sometimes reduce lock contention
    • Doing joins in the application makes it easier to scale the database by placing tables on different servers.
    • The queries themselves can be more efficient. In this example, using an IN() list instead of a join lets MySQL sort row IDs and retrieve rows more optimally than might be possible with a join.
    • You can reduce redundant row accesses. Doing a join in the application means retrieving each row only once., whereas a join in the query is essentially a denormalization that might repeatedly access the same data. For the same reason, such restructuring might also reduce the total network traffic and memory usage.
    • To some extent, you can view this technique as manually implementing a hash join instead of the nested loops algorithm MySQL uses to execute a join. A hash join might be more efficient.

    As a result, doings joins in the application can be more efficient when you cache and reuse a lot of data from earlier queries, you distribute data across multiple servers, you replace joins with IN() lists, or a join refers to the same table multiple times.

    OBSERVATION

    I like the first bulletpoint because InnoDB is a little heavy-handed when it crosschecks the query cache.

    As for the last bulletpoint, I wrote a post back on Mar 11, 2013 (Is there an execution difference between a JOIN condition and a WHERE condition?) that describes the nested loop algorithm. After reading it, you will see how good join decomposition may be.

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by sudo.ie, answered by RolandoMySQLDBA (CC BY-SA 4.0)

  • Why did you leave your last job?Behavioural

    The employer may ask you questions about leaving your last job.

    If you've been out of work for a long time, explain why. Talk about the positive things you've done while away from work. For example, networking, retraining, volunteering or keeping fit.

    If you:

    • left by choice: be positive about why you want a new job and describe why their company suits you better
    • got made redundant: explain the situation, be positive and describe how you've responded since
    • were fired for misconduct or poor performance: explain why your standards dropped, what you've learned and how you've improved since the experience

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Backend developer jobs in India (880) and Remote Backend developer jobs in India (305)